next up previous contents
Next: Examine and Filter the Up: An EPIC Data Processing Previous: A Quick Look at   Contents


Rerunning the Pipeline

If a dataset is more than a year old, it was probably processed with older versions of CCF and SAS prior to archiving, so the pipeline should be rerun to generate event files with the latest calibrations. The MOS has two pipeline tasks, emchain and emproc, while the PN has one, epproc for the PN. The two MOS tasks produce the same output, so which one to use is entirely a matter of the user's personal preference.

First, create the directory for processed data, PROC, by right-clicking on the ObsID directory and choosing the option ``Create new directory''. Highlight PROC by single-clicking on it. Please note that both the Hera GUI and Command Window rely on this to know where to place the output files.

To rerun the pipeline from the GUI:

1)
In the Available Tools panel, under ``XMM-SAS'', call emproc or emchain to repipeline the MOS data, and epproc to repipeline the PN data. Note that for emchain, the default is to process both the MOS1 and MOS2 cameras; users who want to analyze only one camera will need to change the ``Instrument to analyze'' parameter. In the task pop-up window, click ``Run''.
2)
Rename the output something easy to type, for example, mos1.fits, by right-clicking on the repipelined event file. For emproc and epproc, the files with have the form *EMOS1*ImagingEvts.ds, *EMOS2*ImagingEvts.ds, and *EPN*ImagingEvts.ds. For emchain, the output files follow the naming system as described in §5.3.2.

To rerun the pipeline from the Command Window, type:

emchain (or emproc)
epproc.

We will assume that the newly pipelined event files are named mos1.fits, mos2.fits, and pn.fits.


next up previous contents
Next: Examine and Filter the Up: An EPIC Data Processing Previous: A Quick Look at   Contents
Lynne Valencic 2011-07-26