SourcePlot

class sherpa.astro.plot.SourcePlot[source] [edit on github]

Bases: sherpa.plot.HistogramPlot

Create 1D plots of unconcolved model values.

histo_prefs

The preferences for the plot.

Type:dict
xlo, xhi

The lower and upper edges for each bin (the independent variable).

Type:array_like
y

The Y value for each point (the model value).

Type:array_like
xlabel, ylabel, title

Plot labels.

Type:str

Attributes Summary

histo_prefs

Methods Summary

overplot(*args, **kwargs)
plot([overplot, clearwindow])
prepare(data, src[, lo, hi])

Attributes Documentation

histo_prefs = {'barsabove': False, 'capsize': None, 'color': None, 'ecolor': None, 'linecolor': None, 'linestyle': 'steps-mid', 'marker': 'None', 'markerfacecolor': None, 'markersize': None, 'xlog': False, 'yerrorbars': False, 'ylog': False}

Methods Documentation

overplot(*args, **kwargs) [edit on github]
plot(overplot=False, clearwindow=True)[source] [edit on github]
prepare(data, src, lo=None, hi=None)[source] [edit on github]