FilterSystem¶
- class artpop.filters.FilterSystem(filter_curve_files, filter_names, **kwargs)[source]¶
Bases:
object
Class for calculating filter parameters from throughput curves. The parameter definitions are taken from Fukugita et al. (1996) AJ 111, 1748.
- Parameters
- filter_curve_fileslist
List of the file names of the filter curves.
- filter_namesstr
Names of filters. Must be the same length as
filter_curve_files
.- **kwargs
Optional argumnets for
loadtxt
, which is used to load the filter curve files.
Methods Summary
dlam
(bandpass)Calculate the bandpass width.
effective_throughput
(bandpass)Calculate the effective throughput for the given bandpass.
lam_eff
(bandpass)Calculate effective wavelength for the given bandpass.
lam_pivot
(bandpass)Calculate pivot wavelength for the given bandpass.
Methods Documentation
- dlam(bandpass)[source]¶
Calculate the bandpass width.
- Parameters
- bandpassstr
The name of the filter.
- Returns
- widthfloat
The bandpass width.
- effective_throughput(bandpass)[source]¶
Calculate the effective throughput for the given bandpass.
- Parameters
- bandpassstr
The name of the filter.
- Returns
- thefffloat
Effective effective throughput.