CoaddPlotFlagSelector

class lsst.analysis.tools.actions.vector.CoaddPlotFlagSelector(*args, **kw)

Bases: FlagSelector

This default setting makes it take the band from the kwargs.

Attributes Summary

bands

The bands to apply the flags in, takes precedence if band supplied in kwargs (List, default [])

selectWhenFalse

Names of the flag columns to select on when False (List, default [])

selectWhenTrue

Names of the flag columns to select on when True (List, default [])

Methods Summary

__call__(data, **kwargs)

Select on the given flags

getInputSchema()

Return the schema an AnalysisAction expects to be present in the arguments supplied to the __call__ method.

refMatchContext()

setDefaults()

Subclass hook for computing defaults.

Attributes Documentation

bands

The bands to apply the flags in, takes precedence if band supplied in kwargs (List, default [])

selectWhenFalse

Names of the flag columns to select on when False (List, default [])

selectWhenTrue

Names of the flag columns to select on when True (List, default [])

Methods Documentation

__call__(data: MutableMapping[str, ndarray[Any, dtype[ScalarType]] | Scalar | HealSparseMap | Tensor], **kwargs) ndarray[Any, dtype[ScalarType]]

Select on the given flags

Parameters:
dataKeyedData
Returns:
resultVector

A mask of the objects that satisfy the given flag cuts.

Notes

Uses the columns in selectWhenFalse and selectWhenTrue to decide which columns to select on in each circumstance.

getInputSchema() Tensor]]]

Return the schema an AnalysisAction expects to be present in the arguments supplied to the __call__ method.

Returns:
resultKeyedDataSchema

The schema this action requires to be present when calling this action, keys are unformatted.

refMatchContext()
setDefaults()

Subclass hook for computing defaults.

Notes

Derived Config classes that must compute defaults rather than using the Field instances’s defaults should do so here. To correctly use inherited defaults, implementations of setDefaults must call their base class’s setDefaults.