CoaddDepthPlot¶
- class lsst.analysis.tools.actions.plot.CoaddDepthPlot(*args, **kw)¶
Bases:
PlotActionMake a plot of pixels per coadd depth.
Methods Summary
__call__(data, tractInfo, **kwargs)Call self as a function.
Return the schema an
AnalysisActionexpects to be present in the arguments supplied to the __call__ method.makePlot(data, tractInfo[, plotInfo])Make the plot.
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
AnalysisActionexpects to be present in the arguments supplied to the __call__ method.- Returns:
- result
KeyedDataSchema The schema this action requires to be present when calling this action, keys are unformatted.
- result
- 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.
- tractInfo
ExplicitTractInfo The tract info object.
- plotInfo
dict A dictionary of the plot information.
- Returns:
- fig
Figure The resulting figure.
- fig
Examples
An example coaddDepthPlot may be seen below: