Filter¶
- class kelp.Filter(wavelength, transmittance, name=None)[source] [edit on github]¶
Bases:
object
Astronomical filter object.
Methods Summary
bin_down
([bins])Bin down the filter bandpass wavelengths and transmittances (shortcut for faster integration over the bandpass).
from_name
(name)Initialize a Filter instance from the filter name.
plot
([ax])Plot the filter transmittance curve.
Methods Documentation
- bin_down(bins=10)[source] [edit on github]¶
Bin down the filter bandpass wavelengths and transmittances (shortcut for faster integration over the bandpass).
- Parameters:
- binsint
Number of bins in the binned transmittance curve.
- classmethod from_name(name)[source] [edit on github]¶
Initialize a Filter instance from the filter name.
- Parameters:
- namestr
Name of the filter. Examples include “IRAC 1”, “IRAC 2”, “Kepler”, “TESS”, and “CHEOPS”.