ARFPlot

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

Bases: sherpa.plot.HistogramPlot

Create plots of the ancillary response file (ARF).

histo_prefs

The preferences for the plot.

Type:dict
xlo, xhi

The lower and upper edges of each bin.

Type:array_like
y

The effective area (ARF) value for the bin.

Type:array_like
xlabel, ylabel, title

Plot labels.

Type:str

Attributes Summary

histo_prefs

Methods Summary

overplot(*args, **kwargs)
plot([overplot, clearwindow])
prepare(arf[, data]) Fill the fields given the ARF.

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) [edit on github]
prepare(arf, data=None)[source] [edit on github]

Fill the fields given the ARF.

Parameters:
  • arf – The ARF to plot
  • data (DataPHA instance, optional) – The units attribute of this object is used to determine whether the X axis should be in Angstrom instead of KeV (the default).