Derived-component converter for a Filter that has been stored as
a FilterLabel.
Definition at line 148 of file filter.py.
◆ getComponent()
def lsst.obs.base.formatters.filter.FilterTranslator.getComponent |
( |
|
self, |
|
|
|
label, |
|
|
|
derivedName |
|
) |
| |
Derive a Filter from a FilterLabel.
Parameters
----------
label : `~lsst.afw.image.FilterLabel`
The object to convert.
derivedName : `str`
Name of type to convert to. Only "filter" is supported.
Returns
-------
derived : `object`
The converted type. Can be `None`.
Raises
------
AttributeError
An unknown component was requested.
Definition at line 156 of file filter.py.
The documentation for this class was generated from the following file: