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:
exposurelsst.afw.image.Exposure

Exposure to examine.

filterListlist [str]

List of physical_filter names to check.

loglogging.Logger

Logger to handle messages.

Returns:
resultbool

True if the exposure’s filter is contained in the list.