FilterDefinition¶
- class eazy.filters.FilterDefinition(name=None, wave=None, throughput=None, bp=None, photon_counter=True)[source]¶
Bases:
object
Bandpass object
- Parameters:
- namestr
Label name
- wavearray
Wavelength array, in
astropy.units.Angstrom
.- throughputarray
Throughput, arbitrary normalization
- bpoptional,
pysynphot.obsbandpass
object pysynphot
filter bandpass- photon_counterbool
Filter is associated with a photon-counting detector (e.g. CCDs). Often FIR devices are energy-counting, e.g., MIPS, Herschel.
Attributes Summary
Compute AB-Vega conversion
95% cumulative throughput width
Filter equivalent width
Pivot wavelength
Filter rectangular width
Methods Summary
extinction_correction
(EBV[, Rv, mag, ...])Get the MW extinction correction within the filter.
for_filter_file
([row_str])Return a string that can be put in the EAZY filter file
get_extinction
([EBV, Rv])Extinction factor
Set throughput accounting for
photon_counter
attributeAttributes Documentation
- ABVega¶
Compute AB-Vega conversion
- ctw95¶
95% cumulative throughput width
- equivwidth¶
Filter equivalent width
- pivot¶
Pivot wavelength
- rectwidth¶
Filter rectangular width
Methods Documentation
- extinction_correction(EBV, Rv=3.1, mag=True, source_lam=None, source_flux=None)[source]¶
Get the MW extinction correction within the filter.
Optionally supply a source spectrum.