lsst.obs.base  21.0.0-24-g1074344+7a8564be62
Public Member Functions | List of all members
lsst.obs.base.formatters.filter.FilterTranslator Class Reference
Inheritance diagram for lsst.obs.base.formatters.filter.FilterTranslator:

Public Member Functions

def getComponent (self, label, derivedName)
 

Detailed Description

Derived-component converter for a Filter that has been stored as
a FilterLabel.

Definition at line 148 of file filter.py.

Member Function Documentation

◆ 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: