CoaddDepthPlot

class lsst.analysis.tools.actions.plot.CoaddDepthPlot(*args, **kw)

Bases: PlotAction

Make a plot of pixels per coadd depth.

Methods Summary

__call__(data, tractInfo, **kwargs)

Call self as a function.

getInputSchema()

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

makePlot(data, tractInfo[, plotInfo])

Make the plot.

setDefaults()

Subclass hook for computing defaults.

Methods Documentation

__call__(data: KeyedData, tractInfo: ExplicitTractInfo, **kwargs) Figure

Call self as a function.

getInputSchema() KeyedDataSchema

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.

makePlot(data: KeyedData, tractInfo: ExplicitTractInfo, plotInfo: Mapping[str, str] | None = None, **kwargs: Any) Figure

Make the plot.

Parameters:
`KeyedData`

The catalog to plot the points from.

tractInfoExplicitTractInfo

The tract info object.

plotInfodict

A dictionary of the plot information.

Returns:
figFigure

The resulting figure.

Examples

An example coaddDepthPlot may be seen below:

../_images/coaddDepthPlotExample.png
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.