PHA structure
struct PHA { long NumberChannels; /* Number of spectrum channels */ long FirstChannel; /* First channel number */ float* Pha;/*NumberChannels*/ /* PHA data */ float* StatError;/*NumberChannels*/ /* Statistical error */ float* SysError;/*NumberChannels*/ /* Statistical error */ int* Quality;/*NumberChannels*/ /* Data quality */ int* Grouping; /*NumberChannels*/ /* Data grouping */ int* Channel; /*NumberChannels*/ /* Channel number */ float* AreaScaling;/*NumberChannels*//* Area scaling factor */ float* BackScaling;/*NumberChannels*//* Background scaling factor */ float Exposure; /* Exposure time */ float CorrectionScaling; /* Correction file scale factor */ int DetChans; /* Content of DETCHANS keyword */ int Poisserr; /* If true, errors are Poisson */ char Datatype[FLEN_KEYWORD]; /* "COUNT" for count data and */ /* "RATE" for count/sec */ char Spectrumtype[FLEN_KEYWORD]; /* "TOTAL", "NET", or "BKG" */ char ResponseFile[FLEN_FILENAME]; /* Response filename */ char AncillaryFile[FLEN_FILENAME]; /* Ancillary filename */ char BackgroundFile[FLEN_FILENAME]; /* Background filename */ char CorrectionFile[FLEN_FILENAME]; /* Correction filename */ char ChannelType[FLEN_KEYWORD]; /* Value of CHANTYPE keyword */ char Telescope[FLEN_KEYWORD]; char Instrument[FLEN_KEYWORD]; char Detector[FLEN_KEYWORD]; char Filter[FLEN_KEYWORD]; char Datamode[FLEN_KEYWORD]; char StokesParameter[FLEN_VALUE]; /* For spectrapolarimetry (e.g. 'Ixx', 'xQx', 'xxU') */ char StokesWeighting[FLEN_VALUE]; /* For spectrapolarimetry Stokes parameter weighting scheme */ char *XSPECFilter[100]; /* Filter keywords */ };
HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public Last modified: Wednesday, 28-Aug-2024 16:49:34 EDT HEASARC Staff Scientist Position - Applications are now being accepted for a Staff Scientist with significant experience and interest in the technical aspects of astrophysics research, to work in the High Energy Astrophysics Science Archive Research Center (HEASARC) at NASA Goddard Space Flight Center (GSFC) in Greenbelt, MD. Refer to the AAS Job register for full details. |