XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


specgroup (specgroup-1.7.1) [xmmsas_20230412_1735-21.0.0]

withRegularBins

This is a simplistic option which allows a spectrum, or part of a spectrum, to be grouped in regular intervals, e.g.


\begin{code}{\em specgroup spectrumset=srcspec.ds groupedset=SpecGrp.ds regbinstart=1
regbinend=300 regbinwid=10
}\end{code}

which would make 30 groups of 10 bins each from the initial 300 bins in the spectrum. Note that in this case the bins refer to the position in the spectrum and start from bin 1.

This option may be used in conjunction with one of the statistical options. In which case the regular bin grouping is applied first and the statistical grouping is applied to the remaining ungrouped bins.



XMM-Newton SOC -- 2023-04-16