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


arfgen (arfgen-1.92) [xmmsas_20160201_1833-15.0.0]

Example 1: Point source Usage and Examples Example 3: Point source Home Index

Meta Index / Home Page / Usage and Examples

Example 2: Correcting for bad pixels

To correct for bad pixels and bad columns (section 5.10) a file containing the bad pixel extensions must be specified on the command line by:

arfgen spectrumset=spectrum.ds badpixlocation=myevents.ds

The bad pixel information is, at least initially, stored in the event files.

By default the code looks for pixels which fall outside the CCD collecting area and outside the field-of-view with a resolution of 2 arcseconds if the extendedsource parameter is set and 0.5 arcseconds for a point source. In some cases, for example if the majority of the source region lies outside the field of view, or a significant fraction of the counts from a point source fall within a chip gap, then this resolution is too coarse. It may be changed by:

arfgen spectrumset=spectrum.ds badpixlocation=myevents.ds badpixelresolution=1.0

which improves the accuracy of the bad pixel calculation for an extended source. The downside is that an increased resolution will cause the execution time of the code to increase substantially.


Example 1: Point source Usage and Examples Example 3: Point source Home Index

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