ARFPlot

class sherpa.astro.plot.ARFPlot[source]

Bases: sherpa.plot.HistogramPlot

Create plots of the ancillary response file (ARF).

histo_prefs

dict – The preferences for the plot.

xlo, xhi

array_like – The lower and upper edges of each bin.

y

array_like – The effective area (ARF) value for the bin.

xlabel, ylabel, title

str – Plot labels.

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 = {'markersize': None, 'barsabove': False, 'ylog': False, 'ecolor': None, 'capsize': None, 'yerrorbars': False, 'linecolor': None, 'markerfacecolor': None, 'marker': 'None', 'color': None, 'linestyle': 'steps-mid', 'xlog': False}

Methods Documentation

overplot(*args, **kwargs)
plot(overplot=False, clearwindow=True)
prepare(arf, data=None)[source]

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).