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


timeappend (timeappend-1.6) [xmmsas_20211130_0941-20.0.0]


Examples

To append a TIME column to the MOS1 ODF Auxiliary file 0001_0000010010_M1S00100AUX.FIT, with the OAL state set using the appropriate attributes in the input dataset, the following command can be used:

timeappend table=0001_0000010010_M1S00100AUX.FIT:M1AUX1

This will write a new dataset called outset.ds, in the current directory.

To set the OAL state using user-specified values for the instrument, datamode and exposure number, one could use:

timeappend table=0001_0000010010_M1S00100AUX.FIT:M1AUX1 withsettings=true instrument=EPN datamode=IMAGING expnr=1 node=PRIMARY

As mentioned in the section 3, this task can be used in combination with tabgtigen to generate GTI information for an ODF file. Here is an example using a PN aux file. Note an additional task, epauxcomb, is used to construct a single table of all the information in both the First and Second tables of the aux file:

epauxcomb set=0001_0000010010_PNS00100AUX.FIT outset=b.ds
timeappend table=b.ds:PNAUX1 outset=c.ds
tabgtigen table=c.ds expression='NABOVE==18308 && CYCLE==10'



XMM-Newton SOC -- 2021-11-30