API Reference#
specreduce Package#
Functions#
|
Convert all accepted image types to a consistently formatted Spectrum object. |
Classes#
An operation to perform as part of a spectroscopic reduction pipeline. |
|
|
input_spectrum: |
specreduce.core Module#
Functions#
|
Convert all accepted image types to a consistently formatted Spectrum object. |
Classes#
An operation to perform as part of a spectroscopic reduction pipeline. |
specreduce.utils.synth_data Module#
Functions#
|
|
|
|
|
Classes#
|
Immutable, composable builder for synthetic 2D spectroscopic images. |
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. |
specreduce.tilt_correction Module#
Classes#
|
A class for 2D spectral tilt correction. |
specreduce.tilt_solution Module#
Classes#
|
A solution for 2D spectral tilt correction. |