FilterDefinition¶
-
class
lsst.obs.base.FilterDefinition(physical_filter: str, lambdaEff: float, band: str = None, afw_name: str = None, lambdaMin: float = nan, lambdaMax: float = nan, alias: set = frozenset())¶ Bases:
objectThe definition of an instrument’s filter bandpass.
This class is used to interface between the
Filterclass and the Gen2CameraMapperand Gen3Instrumentsandphysical_filter/bandDimension.This class is likely temporary, until we have a better versioned filter definition system that includes complete transmission information.
Attributes Summary
afw_nameIf not None, the name of the Filterobject.aliasAlternate names for this filter. bandThe generic name of a filter not associated with a particular instrument (e.g. lambdaMaxThe maximum wavelength of this filter (nm; defined as 1% throughput) lambdaMinThe minimum wavelength of this filter (nm; defined as 1% throughput) Methods Summary
defineFilter()Declare the filters via afw.image.Filter. makeFilterLabel()Create a complete FilterLabel for this filter. Attributes Documentation
-
afw_name= None¶ If not None, the name of the
Filterobject.This is distinct from physical_filter and band to maintain backwards compatibility in some obs packages. For example, for HSC there are two distinct
randifilters, namedr/r2andi/i2.
-
alias= frozenset()¶ Alternate names for this filter. These are added to the
Filteralias list.
-
band= None¶ The generic name of a filter not associated with a particular instrument (e.g.
rfor the SDSS Gunn r-band, which could be on SDSS, LSST, or HSC).Not all filters have an abstract filter: engineering or test filters may not have a genericly-termed filter name.
If specified and if
afw_nameis None, this is used as theFilternamefield, otherwise it is added to the list ofFilteraliases.
-
lambdaMax= nan¶ The maximum wavelength of this filter (nm; defined as 1% throughput)
-
lambdaMin= nan¶ The minimum wavelength of this filter (nm; defined as 1% throughput)
Methods Documentation
-
defineFilter()¶ Declare the filters via afw.image.Filter.
-
makeFilterLabel()¶ Create a complete FilterLabel for this filter.
-