Filters¶
- class qmostetc.Filter¶
Spectral filter handling
This class only has static functions to read and list the available filters
- static read(fname)¶
Read a spectral filter
There are a number of filters available from the ICR which can be retrieved directly by the name. The name prefixes may be omitted as long as the name remains unique.
The list of filters includes:
GAIA2r.Gbp, GAIA2r.G, GAIA2r.Grp
CTIO DECam.g, DECam.i, DECam.r, DECam.u, DECam.z
Generic Bessell.U, Cousins.I, Cousins.R, Johnson.B, Johnson.V
Paranal VISTA.H, VISTA.J, VISTA.Ks, VISTA.Y, VISTA.Z
The complete list of filters can be retrieved with the
list()
function.User defined filters can be used by providing a file name instead. Note that SDSS filters are not in the list of standard filters and need to be provided as file name.
- static list()¶
List all available filters
This function lists all filters that are available from ICR. These names can be used to specify a filter in the
SEDTemplate.__call__()
function.- Returns:
list
List of filter names
Examples
>>> from qmostetc import Filter >>> Filter.list() ['CTIO_DECam.g', ...]
List of filters¶
Reference plots for the filters included in the ETC: