[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


readpulse_pha2 Source code in readpulse_pha2.pro

readpulse_pha2

Name
       readpulse_pha2
Purpose
       Read in a complete pulse profile from a FITS file containing
       PHA-II data
Category

Calling Sequence
       readpulse_pha2,profile,filename
Input Parameters
       filename : name of file with PHA2 structure
Optional Input Parameters
       none
Keyword Parameters
       responsefile: response file with EBOUNDS extension
                     to read energy boundaries from.
Output Parameters
       profile : PULSEPROFILE structure
Optional Output
       none
Common Blocks
       none
Side Effects
       none
Restrictions
       none
Procedure
       Read information about number of bins from header
       Read columns with count(rate) data and associated error
       Eliminate last row (because it's superfluous)
       Assign data to PULSEPROFILE structure
Example
       readpulse_pha2,profile,'pca.pha'
Revision History
       Version 1.0: 1999-11-12 PK
                    first version
       Version 2.0: 2005-09-20 PK
                    Added read response EBOUNDS option

Last modified by pro2html on 2007 March 28 at 03:10 UTC

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

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