The deproject.specstack moduleΒΆ

Manipulate a stack of spectra in Sherpa.

The methods in the SpecStack class provide a way to automatically apply familiar Sherpa commands such as set_par or freeze or plot_fit to a stack of PHA spectra. This simplifies simultaneous fitting of multiple spectra.

Note that the specstack module is currently distributed within with the deproject package. Specstack is not yet fully documented or tested outside the context of deproject.


Smithsonian Astrophysical Observatory (2009, 2019, 2022)


Tom Aldcroft (, Douglas Burke (



Manipulate a stack of spectra in Sherpa.