PropertyMapSurveyWidePlot

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

Bases: PlotAction

Attributes Summary

nBinsHist

Number of bins to use for the histogram.

plotName

The name for the plotting task.

Methods Summary

__call__(data, plotConfig, plotInfo, **kwargs)

Call self as a function.

addPlotInfo(fig, plotInfo, mapName)

Add useful information to the plot.

makePlot(data, plotConfig, plotInfo)

Make the survey property map plot.

Attributes Documentation

nBinsHist

Number of bins to use for the histogram. (int, default 35)

plotName

The name for the plotting task. (str, default None)

Methods Documentation

__call__(data: MutableMapping[str, ndarray[Any, dtype[_ScalarType_co]] | Scalar | HealSparseMap | Tensor | Mapping], plotConfig: PropertyMapSurveyWideAnalysisConfig, plotInfo: Mapping[str, Mapping[str, str] | str | int], **kwargs) Mapping[str, Figure]

Call self as a function.

addPlotInfo(fig: Figure, plotInfo: Mapping[str, Mapping[str, str] | str | int], mapName: Mapping[str, str]) Figure

Add useful information to the plot.

Parameters:
figmatplotlib.figure.Figure

The figure to add the information to.

plotInfodict

A dictionary of the plot information.

mapNamestr

The name of the map being plotted.

Returns:
figmatplotlib.figure.Figure

The figure with the information added.

makePlot(data: MutableMapping[str, ndarray[Any, dtype[_ScalarType_co]] | Scalar | HealSparseMap | Tensor | Mapping], plotConfig: PropertyMapSurveyWideAnalysisConfig, plotInfo: Mapping[str, Mapping[str, str] | str | int]) Figure

Make the survey property map plot.

Parameters:
dataKeyedData

The HealSparseMap to plot the points from.

plotConfig

PropertyMapSurveyWideAnalysisConfig The configuration for the plot.

plotInfodict

A dictionary of information about the data being plotted.

Returns:
figFigure

The resulting figure.