Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/8.0.0/documentation/threads/timing_thread_mk_linux.html
Дата изменения: Tue Jun 24 19:52:24 2008
Дата индексирования: Fri Sep 5 23:38:56 2008
Кодировка:

  SAS home  

  SAS Watchout items  

  List of SAS threads  

Timing Analysis with XMM-Newton EPIC / RGS data

The following thread shows you in principle how you can extract timing information out of XMM-Newton data. You will find the period of a variable source and create a folded light curve of the object

The starting point is a calibrated, concatenated event list (run the pipeline on the ODF or take the EVENT file from the pipeline products).
Note, that the specific parameters are related to the example object we are using.
We will run SASand XRONOS.

In pink is marked what you have to type at the command line or some useful scripts.
 

Let's start from the calibrated event list, eg. you have already executed the start-up script to initialize your SAS session, and have generated either an EPIC or an RGS calibrated event list.

As a next step, you should extract a light curve and correct it. Follow the instructions given in the light curve extraction thread.
Now you can:

1. Find the period of the object with the powspec tool
(http://heasarc.gsfc.nasa.gov/docs/xanadu/xronos/xronos.html)

powspec
Ser. 1 filename +options (or @file of filenames +options):
source.ds
Name of the window file ('-' for default window)
-
 Expected Start ... 11794.26074101622  (days)       6:15:28: 24  (h:m:s:ms)
 Expected Stop .... 11794.37184408115  (days)       8:55:27:329  (h:m:s:ms)
 

 Arrival Time Input File(s)
 

 Default Newbin Time is:   1.1718760    (s) (to have 1 Intv. of    8192 Newbins) Type INDEF to accept the default value

Newbin Time or negative rebinning:
0.02 ( you have to give here a binning that is smaller than the period of the object ( in the example 150 ms))

Newbin Time ......    0.20000000E-01  (s)
 Maximum Newbin No.            479966

 Default Newbins per Interval are:        8192
 (giving      59 Intervals of         8192 Newbins each)
 Type INDEF to accept the default value

Number of Newbins/Interval
479966
 Maximum of       1 Intvs. with       524288 Newbins of      0.200000E-01 (s)
Default intervals per frame are:         1
Type INDEF to accept the default value
Number of Intervals/Frame
1
Results from up to       1 Intvs. will be averaged in a Frame
Rebin results? (>1 const rebin, <-1 geom. rebin, 0 none)
0
Name of output file[default]
(enter)
Do you want to plot your results?[yes]
(enter)
Enter PGPLOT device[/XW]
(enter)

and WAIT until power spectrum appears.

to zoom to the highest peak use

r x 5 10   ( if the highest peak is located between 5 and 10 Hz)

find in that way the global maximum of the power distribution.
This value in Hz gives you a start value for further analysis. Change unit to [s]  via P=1/f  (one of the formulas easy to keep in mind...)

exit
 

2. Find the exact period of the object with the efsearch tool
(http://heasarc.gsfc.nasa.gov/docs/xanadu/xronos/xronos.html)

The following lines are a small csh script, that executes the period search via folding versus homogeneity for this special object. You can also type the commands one after the other at the command line, but because you might have to run this more often and later with a high accuracy (what takes some time) it is nice do get this done by the script. The script produces also a .ps file. For this you have to create a plot file (see below p_search.pco)

##########################################script####p_search.csh##########################################
#!/bin/csh -f

efsearch cfile1="source.ds" \
window='-' \
sepoch=11794.31629254868\
dper=0.151114 \
nper=10 \
nphase= 10 \
nbint=INDEF \
dres=0.1E-5 \
plot=yes plotdev="/ps" outfile="-" \
plotfile="p_search.pco"

#######################################################################################################
explanation of keywords can be found at: http://heasarc.gsfc.nasa.gov/docs/xanadu/xronos/xrohlp.html

###############################plotfile###########p_search.pco############################################
hardcopy period.ps/ps
exit
######################################################################################################
 
 
 

3. Produce the folded light curve of the object with the efold tool
(http://heasarc.gsfc.nasa.gov/docs/xanadu/xronos/xronos.html)

Also here we provide you with a example scripts, that will work for the data in the workshop.

##########################################script###fold.csh##############################################
#!/bin/csh -f

efold \
nser=1 \
cfile1="source.ds" \
window='-' \
sepoch=11794.31629254868 \
dper=0.151113327 \
nphase= 100 \
nbint=INDEF \
nintfm=1 \
plot=yes plotdev="/ps" outfile="-" \
plotfile="fold.pco"

######################################################################################################
explanation of keywords can be found at: http://heasarc.gsfc.nasa.gov/docs/xanadu/xronos/xrohlp.html

###############################plotfile###########fold.pco############################################
hardcopy light_curve.ps/ps
exit
######################################################################################################