pypeit.fluxcalibrate module
- class pypeit.fluxcalibrate.EchelleFC(spec1dfiles, sensfiles, par=None, debug=False)[source]
Bases:
FluxCalibrate
Child of FluxSpec for Echelle reductions
- class pypeit.fluxcalibrate.FluxCalibrate(spec1dfiles, sensfiles, par=None, debug=False, outfiles=None)[source]
Bases:
object
Class for flux calibrating spectra.
- Parameters
spec1dfiles (list) – List of PypeIt spec1d files that you want to flux calibrate
sensfiles (list) – List of sensitivity function files to use to flux calibrate the spec1d files. This list and the sensfiles list need to have the same length and be aligned
par (pypeit.par.pypeitpar.FluxCalibrate, optional) – Parset object containing parameters governing the flux calibration.
outfiles (list, optional) – Names of the output files. If None, this is set to spec1dfiles and those are overwritten
- class pypeit.fluxcalibrate.MultiSlitFC(spec1dfiles, sensfiles, par=None, debug=False, outfiles=None)[source]
Bases:
FluxCalibrate
Child of FluxSpec for Multislit and Longslit reductions