SurveyWidePropertyMapPlot#
- class lsst.analysis.tools.actions.plot.SurveyWidePropertyMapPlot(*args, **kw)#
Bases:
PlotActionAttributes Summary
The name for the plotting task.
Methods Summary
__call__(data, plotConfig, plotInfo, **kwargs)Call self as a function.
addPlotInfo(fig, plotInfo, toolName)Add useful information to the plot.
makePlot(data, plotConfig, plotInfo)Make the survey property map plot.
Attributes Documentation
- plotName#
The name for the plotting task. (
str, defaultNone)
Methods Documentation
- __call__(data: MutableMapping[str, ndarray[tuple[Any, ...], dtype[_ScalarT]] | Scalar | HealSparseMap | Tensor | Mapping], plotConfig: SurveyWidePropertyMapAnalysisConfig, 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], toolName: str) Figure#
Add useful information to the plot.
Parameters#
- fig
matplotlib.figure.Figure The figure to add the information to.
- plotInfo
dict A dictionary of the plot information.
- toolName
str The name of the tool used to generate the plot.
Returns#
- fig
matplotlib.figure.Figure The figure with the information added.
- fig
- makePlot(data: MutableMapping[str, ndarray[tuple[Any, ...], dtype[_ScalarT]] | Scalar | HealSparseMap | Tensor | Mapping], plotConfig: SurveyWidePropertyMapAnalysisConfig, plotInfo: Mapping[str, Mapping[str, str] | str | int]) Figure#
Make the survey property map plot.
Parameters#
- data
KeyedData The HealSparseMap to plot the points from.
- plotConfig :
SurveyWidePropertyMapAnalysisConfigThe configuration for the plot.- plotInfo
dict A dictionary of information about the data being plotted.
Returns#
- fig
Figure The resulting figure.
- data