[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


readxtedata Source code in readxtedata.pro

readxtedata

Name
             readxtedata
Purpose
             Retrieves for a given PCA RXTE observation lightcurve
             data.
Category
             RXTE data analysis
Calling Sequence
             readxtedata,t,c,path=pa,dirs=dirs,obs=obs,occult=occult, $
                saa=saa,good=good,pcu0=pcu0,pcu1=pcu1,pcu2=pcu2,pcu3=pcu3, $
                pcu4=pcu4,verbose=verbose,noback=noback,back=back, $
                gti=gti,electron=electron,earthvle=earthvle,faint=faint, $
                q6=q6,skyvle=skyvle,top=top,exclusive=exclusive, $
                nopcu0=nopcu0,fivepcu=fivepcu,cass=cass,deadcorr=deadcorr, $
                err=err, binning=binning, bary=bary
Input Parameters
             path: path to the observation
             dirs: subdirectories to the individual observing blocks
Optional Input Parameters
             binning: Number how much datapoints are to be summed up
                      into a single point.
Keyword Parameters
             see above
             noback: set if no bkg subtraction is to be performed
             earthvle: set if EarthVLE background model is to be used
             faint: set if Faint background model is to be used
             q6: set if Q6 background model is to be used
                (default is to test for earthvle,faint,q6)
             skyvle: set if SkyVLE background model is to be used
             (default is 0 for noback,earthvle,faint,q6,skyvle)
             exclusive: set to search for data that was extracted
                with the exclusive keyword to pca_standard being set.
             top: set to read top-layer data
             nopcu0: set to search for data that was extracted
                ignoring PCU0
             fivepcu: plot count-rates wrt to whole PCA, i.e.,
                normalizing to five PCU; default is to plot the average
                countrate per PCU
             bary: Try to use barycenter time column in data. Must be
                   created with fxbary before into file with postfix _bary.
Output Parameters
             t : time array of data in MJD.
             c : count array of data
Optional Output
             err: Estimated error by applying poisson
                  statistic. Binning/background subtraction will be acknowledged.
Example
      obsid='P10241'
      dirs=['01.00','01.000']
      path='/xtearray/cyg/'
      readxtedata,t,c,path=path+obsid,dirs=dirs...
Revision History
 CVS Version 1.14, 2003-05-02 TG
   added screen output if deadtime correction does not work
 $Log: readxtedata.pro,v $
 Revision 1.17  2005/11/09 13:24:23  wilms
 cosmetic changes
 Revision 1.16  2005/11/07 16:21:51  wilms
 changed verbosity of the output
 Revision 1.15  2004/08/12 12:14:53  wilms
 searching for different background types is now possible
 Revision 1.14  2003/05/02 10:08:09  gleiss
 added screen output if deadtime correction does not work
 Revision 1.13  2003/04/03 16:15:59  goehler
 added option to read bary center corrected data
 Revision 1.12  2003/03/13 11:00:33  goehler
 - added docu
 - added bary keyword for barycenter column reading.
 Revision 1.11
 date: 2002/08/15 06:43:53;  author: goehler;  state: Exp;  lines: +29 -1
 added binning input option to set a binning factor,
 added an error output option to retrieve an error estimated from poisson statistics
 (before subtracting the background)
 Revision 1.10
 date: 2001/03/23 00:36:06;  author: katja
 keyword deadcorr has been added, if set, the output lightcurve is
 deadtime corrected
 Revision 1.9
 date: 2001/01/04 15:23:25;  author: katja
 kp,jw changes FINALLY correcting bug in plotting PCU on times
 Revision 1.8
 date: 2000/12/07 21:00:54;  author: kreyken
 Removed bug concerning the sequence of _top and _ign0
 Revision 1.7
 date: 2000/12/06 00:00:30;  author: wcoburn
 WC: fixed bug in the spawn command
 Revision 1.6
 date: 2000/12/04 14:12:32;  author: katja
 the nopcu0 keyword has been added, in order to plot data (with
 correct normalization) that was extracted ignoring PCU0
 Revision 1.5
 date: 2000/11/15 01:14:10;  author: wheindl
 added cass keyword for obscat path
 Revision 1.4
 date: 2000/10/19 10:08:57;  author: wilms
 improvements concerning reading all different permutations of PCUs
 and in computation of electron ratio
 Revision 1.3
 date: 1999/10/26 17:19:34;  author: katja
 bug fixes
 Revision 1.2
 date: 1999/10/26 16:50:38;  author: katja
 added skyvle and q6 keywords
 Revision 1.1
 date: 1999/10/14 13:17:20;  author: cvs
 Initial revision

Last modified by pro2html on 2005 November 10 at 04:10 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically