Reference/API¶
pydis Package¶
Functions¶
|
Correct the spectrum based on the airmass |
|
|
|
|
|
|
|
Determine the wavelength solution to be used for the science images. |
|
A special version of autoreduce, that assumes all the target images want to be median co-added and then extracted. |
|
|
|
|
|
Trace the spectrum aperture in an image |
|
(REWORD later) Find emission lines, match triangles to dictionary (hash table), filter out junk, check wavelength order, assign wavelengths! |
|
A wrapper routine to carry out the full steps of the spectral reduction and calibration. |
|
Combine the bias frames in to a master bias image. |
|
Given a slice thru a HeNeAr image, find the significant peaks. |
|
Combine the flat frames in to a master flat image. |
|
Trace the lines of constant wavelength along the spatial dimension. |
|
Turn traced arc lines into a wavelength solution across the entire chip |
|
Compute the wavelength along the center of the trace, to be run after the HeNeAr_fit routine. |
|
Return a flattened, normalized spectrum. |
|
Run the tests using py.test. |
Classes¶
|
A simple wrapper for astropy.io.fits (pyfits) to open and extract the data we want from images and headers. |