[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


splitcombine Source code in splitcombine.pro

splitcombine

Name
            splitcombine
Purpose
            Read all pn-fits files produced by podf, perform split
            event analysis, and write raw and split-corrected
            pha-file for further analysis with XSPEC
Category
            XMM
Calling Sequence
           splitcombine,path,phaname=phaname,rawname=rawname,exposure=exposure
Input Parameters
           path: path to the directory where the podf generated files reside
           exposure: exposure time of the SciSim simulation (due to a
                 bug the times in the podf-FITS-files are WRONG and cannot
                 be used for the determination of the exposure time)
Optional Input Parameters

Keyword Parameters
           phaname: name of the split-corrected pha file
           rawname: name of the pha file containing the "raw" spectrum
           /timemode: the data is Timingmode format
           /chatty: give some information
Output Parameters

Optional Output

Common Blocks

Side Effects
             files containing NAXIS2=0 get changed to reflect the
             correct number of rows in the FITS file.
Restrictions

Procedure
               use pnspec to perform the analysis for all files.
Example
        use SciSim to generate a SciSim file, say, ngc4258_70ksec;
        do a
             podf < ngc4258_70ksec
        and then in IDL do
        splitcombine,'/scratch/weekly/wilms/ngc4258/', $
            phaname='ngc70ksec.pha',rawname='ngc70ksec_raw.pha',$
            exposure=70000.
Revision History
              Version 1.0, Joern Wilms ([email protected])
                   1999/03/18
              Veriosn 1.1, Ingo Kreykenbohm
                           ([email protected])

Last modified by pro2html on 2005 January 04 at 17:01 UTC

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

Jörn Wilms ([email protected])
Updated automatically