flux_conversions – Conversion between flux and counts

Module to deal with converting between flux and counts on the detector

pyhetdex.het.flux_conversions.extinction(lbda, airmass)[source]

Model fit to the atmospheric detection, taken from projector.cpp (automatically applied to input/output fluxes in Cure).

Parameters:
lbda : float

wavelength in Angstroms

airmass : float
pyhetdex.het.flux_conversions.flambda_to_electrons(flbda, lbda, tint)[source]

Convert flux to electrons assuming a 10 m clear aperture. Also taken from Cure.

Parameters:
flbda : float

flux / lambda

lbda : float

wavelength

tint : float

exposure time

pyhetdex.het.flux_conversions.virus_eff(lbda)[source]

Model fit to Virus + HET

Parameters:
lbda : float

wavelength in Angstroms

Returns:
virus_eff : float

the efficiency of Virus + HET