XMM-Newton Science Analysis System
rmfgen (rmfgen-2.8.7) [xmmsas_20230412_1735-21.0.0]
MATRIX table creation
- Go through corrected matrix to find
out the following statistics:
- The largest number of channel groups in a row
- The largest number of channel elements in a row above threshold
- Create empty output table header and structure.
- Create a linked list (GROUP_LIST)
to store groups of contiguous elements
- Foreach row in corrected matrix:
- Create a linked list corresponding to a single group (GROUP).
- Foreach element in row
- If element is above threshold, add element to GROUP.
- Else push GROUP onto GROUP_LIST,
and create a new instance of
the GROUP structure for the next group of contiguous elements.
- End element loop
- Write out GROUP_LIST to output table.
- Create a new instance of GROUP_LIST for the next row.
- end row loop
XMM-Newton SOC -- 2023-04-16