API Reference#
specreduce Package#
Classes#
An operation to perform as part of a spectroscopic reduction pipeline. |
|
|
input_spectrum: |
specreduce.core Module#
Classes#
An operation to perform as part of a spectroscopic reduction pipeline. |
specreduce.utils.synth_data Module#
Functions#
|
Create synthetic 2D spectroscopic image with a single source. |
|
Create synthetic 2D spectroscopic image of reference emission lines, e.g. a calibration arc lamp. |
|
Make a synthetic 2D spectrum image containing both emission lines and a trace of a continuum source. |
specreduce.tracing Module#
Classes#
|
Basic tracing class that by default traces the middle of the image. |
|
Trace that is constant along the axis being traced. |
|
Define a trace given an array of trace positions. |
|
Trace the spectrum aperture in an image. |
specreduce.background Module#
Classes#
|
Determine the background from an image for subtraction. |
specreduce.extract Module#
Classes#
|
Standard boxcar extraction along a trace. |
|
Perform a Horne (a.k.a. |
|
An alias for |
specreduce.wavecal1d Module#
Classes#
|
A class for wavelength calibration of one-dimensional spectra. |
specreduce.wavesol1d Module#
Classes#
|
Class defining a one-dimensional wavelength solution. |
specreduce.calibration_data Module#
Utilities for defining, loading, and handling spectroscopic calibration data
Functions#
Returns a dictionary of available line catalogs. |
|
|
Load reference calibration lines from |
|
Load a standard star spectrum from the |
|
This is a convenience function for loading a standard star spectrum from the 'onedstds' dataset in the |
Classes#
|
Spectrum container for atmospheric extinction in magnitudes as a function of wavelength. |
|
Spectrum container for atmospheric transmission as a function of wavelength. |