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


specgroup (specgroup-1.6) [xmmsas_20160201_1833-15.0.0]

User defined ranges Grouping options and examples Statistical grouping Home Index

Meta Index / Home Page / Grouping options and examples

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/SSC -- 2016-02-01