getPhysicalFilter¶
-
lsst.ip.isr.getPhysicalFilter(filterLabel, log)¶ Get the physical filter label associated with the given filterLabel.
If
filterLabelisNoneor 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.FilterLabelobject 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
filterLabelif it exists, otherwise set to “Unknown”.
- filterLabel :