Library of functions to produce stacks of spectra¶
This class is dedicated to stack spectra.
The class SpectraStacking is dedicated to stacking spectra
-
class
SpectraStacking.
SpectraStacking
(LF_file, Nspec=400, dLambda=0.0001, dV=-9999.99)[source] The model luminosity function class :param LF_file: fits file generated with a LF. :param Resolution: Resolution :param Nspec: Initial guess of the parameters :param outputDirectory: where to output the fits :param fileName: file name where things are saved.
-
convertSpectrum
(redshift)[source]¶ Shifts the spectrum in the rest-frame and creates a spectrum with the sampling desired. :param redshift: redshift of the spectrum
-