![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
![]() |
readpp
Read PHA-spectrum from a OGIP-conformant PHA2-file. The file
format has been defined in OGIP memo ...
High energy astrophysics
readpp,phase,rate,rateerr,channel,phafile
channel : Channel number(s) to use for the returned count(-err)
Either a single number, or a 2-dim array which is
interpreted as [cmin,cmax].
(Note: this is compared to the SPEC_NUM column and not
necessarily equal to the row number)
phafile : Name of the file to read from
none
see the list under optional outputs
verbose : Be talkative
mjd : Calculate tstart,tstop in MJD instead of JD
phase : array of pulse phase values
rate : count rates in each phasebin
rateerr : uncertainty of the countrate per phasebin
exposure : exposure time per phasebin
telescope : ID of telescope
instrument: ID of instrument
filter : filter used
object : name of observed object
ra,dec : position of observed object (degrees!), implies:
equinox : equinox os coordinate
radecsys : coordinate-frame used
date_obs : start-time (dd/mm/yy), UTC, implies
time_obs : start-time (hh:mm:ss), UTC
date_end : end-time (dd/mm/yy), UTC
time_end : end-time (hh:mm:ss), UTC
tstart,tstop: the above in JD (or in MJD if mjd keyword is set)
origin : institution where file originates from
none
none
* All spectra in PHA-II table must have same channels
* Rather complex tool
* Very limited error handling
just read it!!!!!!
not needed
Version 1.0: 1999/11/10, PK
first version, based on readpha2.pro V1.1
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]