DEEP2 Spectra

This class is dedicated to handling the spectra from DEEP2 galaxy redshift survey, see Newman et al. 2013.

http://adsabs.harvard.edu/abs/2013ApJS..208....5N

class GalaxySpectrumDEEP2.GalaxySpectrumDEEP2[source]

The class GalaxySpectrumDEEP2 is dedicated to handling DEEP2 spectra

class GalaxySpectrumDEEP2.GalaxySpectrumDEEP2(catalog_entry, survey=<GalaxySurveyDEEP2.GalaxySurveyDEEP2 instance>, calibration=False, lineFits=True)[source]

Loads the environement proper to the DEEP2 survey.

Two modes of operation : flux calibration or line fitting

Parameters:
  • catalog_entry – an entry of the deep2 catalog
  • survey – survey python class
  • calibration – if the class is loaded with intention of flux calibrating the DEEP2 data.
  • lineFits – if the class is loaded with intention of fitting line fluxes on the DEEP2 spectra.
correctQE()[source]

Corrects from the quantum efficiency of the chips where the spectrum landed.

correct_telluric_abs()[source]

Future function to correct the observed spectra from tellurica absorption bands. Not yet implemented.

fluxCal()[source]

Performs the flux calibration of the spectrum by converting counts to flux units with an interpolation between the B and the I band borad band photometry.

openCalibratedSpectrum()[source]

Loads the flux calibrated spectrum in f lambda convention.

openObservedSpectrum()[source]

Loads the observed spectrum in counts.

openObservedSpectrumFC()[source]

Loads the observed spectrum in counts.

plotFit(outputFigureNameRoot, ymin=1e-19, ymax=1e-17)[source]

Plots spectrum and the line fits in a few figures :param outputFigureNameRoot: path + name to save the plots

writeFCspec()[source]

Writes the flux-calibrated spectrum