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


specgroup (specgroup-1.6) [xmmsas_20160201_1833-15.0.0]

Copy from a template Grouping options and examples Other grouping options Home Index

Meta Index / Home Page / Grouping options and examples


Treatment of the last bin and other ungrouped bins

In the case where the last few bins of the spectrum do not meet the required statistical criterion for a normal group it may be treated in several ways:

  1. Leave the bins ungrouped and set their quality to bad:

    lastbin="setbad"

  2. Group them and set their quality good:

    lastbin="owngroup"

  3. Add these bins into the final group:

    lastbin="addtogroup"

The default is to add these bins onto the adjacent group. A different option may be selected by e.g.


\begin{code}{\em
specgroup spectrumset=srcspec.ds mincounts=25 lastbin=''setbad''
}\end{code}

In principle, a set of user-defined ranges could leave ungrouped bins in the middle of the spectrum. These will also be treated according to the lastbin parameter setting.



XMM-Newton SOC/SSC -- 2016-02-01