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


evenergyshift (evenergyshift-0.2.1) [xmmsas_20230412_1735-21.0.0]

Examples

A single offset to all events may be applied by providing a value for the offset1 parameter.

evenergyshift table=pntimevts.ds
              outset=pntimevts_shift35.ds offset1=35 pi1=1839

This will produce an output file, pntimeevents_shift35.ds, with the same events as the input file but each with a PI value 35 eV higher than the original. The original values are stored in a new column called PI_ORIG.

evenergyshift table=pnburstevts.ds
              outset=pnburstevts_shift.ds pi1=1839 offset1=10
              pi2=11919 offset2=30

This will produce an output file, pnburstevtsevents_shift.ds, with events of energy up to 1839 eV being shifted upwards in energy by 10 eV and higher energy events being progressively shifted up to 30 eV at 11919 eV and increasingly at higher energies.

evenergyshift table=pnburstevts.ds
              outset=pnburstevts_shift.ds pi1=1839 offset1=10
              pi2=11919 offset2=30 extrapolate=false

As the previous example but energies greater than 11919 eV will be shifted by exactly 30 eV.



XMM-Newton SOC -- 2023-04-16