DiaSkyPlot

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

Bases: PlotAction

Generic pseudo base class for plotting DiaSources (or DiaObjects) on the sky.

Attributes Summary

panels

A configurable dict describing the panels to be plotted (both data columns and layouts).

Methods Summary

__call__(data, **kwargs)

Call self as a function.

getInputSchema(**kwargs)

Defines the schema this plot action expects (the keys it looks for and what type they should be).

makePlot(data, **kwargs)

Make an N-panel plot with locations of DiaSources or DiaObjects displayed in each panel.

Attributes Documentation

panels

A configurable dict describing the panels to be plotted (both data columns and layouts). (ConfigDict, default {})

Methods Documentation

__call__(data: MutableMapping[str, ndarray[Any, dtype[ScalarType]] | Scalar | HealSparseMap | Tensor], **kwargs) Mapping[str, Figure] | Figure

Call self as a function.

getInputSchema(**kwargs) Tensor]]]

Defines the schema this plot action expects (the keys it looks for and what type they should be). In other words, verifies that the input data has the columns we are expecting with the right dtypes.

makePlot(data: MutableMapping[str, ndarray[Any, dtype[ScalarType]] | Scalar | HealSparseMap | Tensor], **kwargs) Figure

Make an N-panel plot with locations of DiaSources or DiaObjects displayed in each panel.

Parameters:
datalsst.analysis.tools.interfaces.KeyedData
Returns:
figmatplotlib.figure.Figure