The sherpa.plot module

A visualization interface to Sherpa.

Classes provide access to common plotting tasks, which is done by the plotting backend defined in the options.plot_pkg setting of the Sherpa configuration file. Note that the plot objects can be created, and used, even when there is no available plot backend, it is just that no graphical display will be created.

Classes

Plot()

Base class for line plots

Contour()

Base class for contour plots

Point()

Base class for point plots

Histogram()

Base class for histogram plots

HistogramPlot()

DataHistogramPlot()

Create 1D histogram plots of data values.

ModelHistogramPlot()

Display a model as a histogram.

SourceHistogramPlot()

Display a source model as a histogram.

PDFPlot()

Display the probability density of an array.

CDFPlot()

Display the cumulative distribution of an array.

LRHistogram()

Derived class for creating 1D likelihood ratio distribution plots

SplitPlot([rows, cols])

Create multiple plots.

JointPlot()

Multiple plots that share a common axis

DataPlot()

Create 1D plots of data values.

TracePlot()

ScatterPlot()

PSFKernelPlot()

Derived class for creating 1D PSF kernel data plots

DataContour()

Create contours of 2D data.

PSFKernelContour()

Derived class for creating 2D PSF Kernel contours

ModelPlot()

Create 1D plots of model values.

ComponentModelPlot()

ComponentModelHistogramPlot()

ComponentTemplateModelPlot()

SourcePlot()

Create 1D plots of unconvolved model values.

ComponentSourcePlot()

ComponentSourceHistogramPlot()

ComponentTemplateSourcePlot()

PSFPlot()

Derived class for creating 1D PSF kernel data plots

ModelContour()

Derived class for creating 2D model contours

PSFContour()

Derived class for creating 2D PSF contours

SourceContour()

Derived class for creating 2D model contours

FitPlot()

Combine data and model plots for 1D data.

FitContour()

Derived class for creating 2D combination data and model contours

DelchiPlot()

Create plots of the delta-chi value per point.

ChisqrPlot()

Create plots of the chi-square value per point.

ResidPlot()

Create plots of the residuals (data - model) per point.

ResidContour()

Derived class for creating 2D residual contours (data-model)

RatioPlot()

Create plots of the ratio of data to model per point.

RatioContour()

Derived class for creating 2D ratio contours (data divided by model)

Confidence1D()

Confidence2D()

IntervalProjection()

IntervalUncertainty()

RegionProjection()

RegionUncertainty()

Functions

begin(*args, **kwargs)

A do-nothing operation

end(*args, **kwargs)

A do-nothing operation

exceptions(*args, **kwargs)

A do-nothing operation

Class Inheritance Diagram

Inheritance diagram of Plot, Contour, Point, Histogram, HistogramPlot, DataHistogramPlot, ModelHistogramPlot, SourceHistogramPlot, PDFPlot, CDFPlot, LRHistogram, SplitPlot, JointPlot, DataPlot, TracePlot, ScatterPlot, PSFKernelPlot, DataContour, PSFKernelContour, ModelPlot, ComponentModelPlot, ComponentModelHistogramPlot, ComponentTemplateModelPlot, SourcePlot, ComponentSourcePlot, ComponentSourceHistogramPlot, ComponentTemplateSourcePlot, PSFPlot, ModelContour, PSFContour, SourceContour, FitPlot, FitContour, DelchiPlot, ChisqrPlot, ResidPlot, ResidContour, RatioPlot, RatioContour, Confidence1D, Confidence2D, IntervalProjectionWorker, IntervalProjection, IntervalUncertaintyWorker, IntervalUncertainty, RegionProjectionWorker, RegionProjection, RegionUncertaintyWorker, RegionUncertainty