checkFilter¶
-
lsst.ip.isr.checkFilter(exposure, filterList, log)¶ Check to see if an exposure is in a filter specified by a list.
The goal of this is to provide a unified filter checking interface for all filter dependent stages.
Parameters: - exposure :
lsst.afw.image.Exposure Exposure to examine.
- filterList :
list[str] List of physical_filter names to check.
- log :
logging.Logger Logger to handle messages.
Returns: - result :
bool True if the exposure’s filter is contained in the list.
- exposure :