![]() |
![]() |
|
Timing Analysis with XMM-Newton EPIC / RGS data
Content1. Preparation2. Find the period of the object with the powspec tool 3. Find the exact period of the object with the efsearch tool 4. Produce the folded light curve of the object with the efold tool PreparationThis thread is based on having already produced a light curve. The Extraction and correction of an X-ray light curve for a point-like source thread gives instructions. Note that the time binning has to be smaller than the period that is to be measured. In this thread an example light curve source.lc is provided that has been extracted from ObsID 0204690101 (V4743 Sgr; see Dobrotka and Ness 2010) using a time binning of 10 seconds.The SAS contains no timing analysis tool, but XRONOS, as part of the FTOOLS software package, can be used with XMM-Newton data. FTOOLS are used from the command line. Whenever a parameter needs to be provided, the user will be prompted to type in something. A default value is suggested in square brackets that can be accepted by hitting enter. The suggested default values are taken from a parameter file that can be found in the directory $HOME/pfiles/, for example, $HOME/pfiles/powspec.par for the parameters of powspec (see below). In order to reset the parameters, the task needs to be unlearned with punlearn. In this case the command line would be: punlearn powspec Procedure1. Find the period of the object with the powspec toolThe powspec tool calculates a power spectrum, which gives a likelihood for the existence of a range of frequencies on a frequency grid. It is called from the command line:powspec The parameters can be provided in two ways:
and WAIT until power spectrum appears. To zoom in to the highest peak use r x 0 2e-3 to find the global maximum of the power distribution. For the given example, a value of 7.5x10-4 Hz (1333.3 sec period) is found as a start value for further analysis (below). Leave the interactive plot environment by typing exit or q
Fig.1: The total view (left) and a zoom into the peak (left) of the powerspectrum, produced with the above commands, can be seen (click to enlarge). 2. Find the exact period of the object with the efsearch toolThe following lines are a small csh script, that executes the period search via folding versus homogeneity. The commands can also be typed in the command line. The script may be more useful to run multiple times with different settings and later with a higher accuracy.####################### script p_search.csh #################### #!/bin/csh -f efsearch cfile1="source.lc" \ window='-' \ sepoch=INDEF\ dper=1333.33\ nper=128 \ nphase= -3 \ nbint=8297 \ dres=0.03 \ plot=yes plotdev="/ps" outfile="p_search" \ plotfile="p_search.pco" ######################################################### Explanations of the parameters can be found in Sect. 5.4 of the XRONOS manual. A ps file pgplot.ps is produced. Since this will be overwritten with the next plot command, a copy should be made, e.g., cp pgplot.ps period.ps
Fig.2: The plot produced with the above script (click to enlarge). The best-fit period is given in the plot as 1333.39 seconds. 3. Produce the folded light curve of the object with the efold tool######################### script fold.csh ###################### #!/bin/csh -f efold \ nser=1 \ cfile1="source.lc" \ window='-' \ sepoch=0.00000\ dper=1333.39\ nphase=-3 \ nbint=133\ nintfm=1 \ plot=yes plotdev="/ps" outfile="fold" \ plotfile="fold.pco" ######################################################### Explanations of keywords can be found in Sect. 5.4 of the XRONOS manual. A ps file pgplot.ps is produced. Since this will be overwritten with the next plot command, a copy should be made, e.g., cp pgplot.ps fold.ps ![]() Fig.3: The plot produced with the above script (click to enlarge). Last Updated: 16 April 2010
|
| Copyright 2012© European Space Agency. All rights reserved. |