getPhysicalFilter¶
-
lsst.ip.isr.
getPhysicalFilter
(filterLabel, log)¶ Get the physical filter label associated with the given filterLabel.
If
filterLabel
isNone
or there is no physicalLabel attribute associated with the givenfilterLabel
, the returned label will be “Unknown”.Parameters: - filterLabel :
lsst.afw.image.FilterLabel
The
lsst.afw.image.FilterLabel
object from which to derive the physical filter label.- log :
logging.Logger
Logger to handle messages.
Returns: - physicalFilter :
str
The value returned by the physicalLabel attribute of
filterLabel
if it exists, otherwise set to “Unknown”.
- filterLabel :