RhoStatisticsPlotAction

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

Bases: PlotAction

Attributes Summary

rhoPlots

A configurable dict describing the rho statistics to plot.

Methods Summary

__call__(data, **kwargs)

Call self as a function.

getInputSchema()

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

getOutputNames()

Returns a list of names that will be used as keys if this action's call method returns a mapping.

makePlot(data[, plotInfo])

Make the plot.

setDefaults()

Subclass hook for computing defaults.

Attributes Documentation

rhoPlots

A configurable dict describing the rho statistics to plot. (ConfigDict, default {})

Methods Documentation

__call__(data: KeyedData, **kwargs) Mapping[str, 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.

getOutputNames() Iterable[str]

Returns a list of names that will be used as keys if this action’s call method returns a mapping. Otherwise return an empty Iterable

Returns:
resultIterable of str

If a PlotAction produces more than one plot, this should be the keys the action will use in the returned Mapping.

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

Make the plot.

Parameters:
dataDataFrame

The catalog containing various rho statistics.

plotInfodict, optional
A dictionary of information about the data being plotted with keys:
"run"

The output run for the plots (str).

"skymap"

The type of skymap used for the data (str).

"filter"

The filter used for this data (str).

"tract"

The tract that the data comes from (str).

**kwargs

Additional keyword arguments to pass to the plot

setDefaults() None

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.