next up previous contents
Next: About this document ... Up: prog_011 Previous: The PSF system routines   Contents

Data Routines

The routines below are defined for a PSF of name <name>. Only the PSF_<name> routine is mandatory.

       PSF_<name>( SLOT, X0, Y0, QX, QY, DX, DY, INTEG, NX, NY,
                                                ARRAY, STATUS )

         SLOT   <int>     The PSF reference
         X0,Y0  <real>    The image position at which the PSF is to
                          be evaluated, in radians
         QX,QY  <real>    Radian offsets from the position (X0,Y0) to
                          the centre of the array ARRAY
         DX,DY  <real>    The widths of the bins in ARRAY
         INTEG  <log>     Return integrated probability per pixel?
         NX,NY  <int>     The dimensions of ARRAY
         ARRAY  <real>[]  The 2D probability array

Return a 2D array of probability per unit pixel for the PSF specified by SLOT.

       PSF_<name>_INIT( SLOT, LOC, STATUS )

         SLOT   <int>     The PSF reference
         LOC    <char>    Locator to associated dataset

       PSF_<name>_DEF( SLOT, SLOT, LOWT, HIGHT, LOWE, HIGHE, USERIN,
                                                   USEROUT, STATUS )

         SLOT   <int>     The PSF reference
         LOWT   <dble>    The lower time bound in offset from OBS_TAI
         HIGHT  <dble>    The upper time bound in offset from OBS_TAI
         LOWE   <int>     The lower energy channel bound
         HIGHE  <int>     The upper energy channel bound
         USERIN   *       User input to library DEF routine
         USEROUT  *       User output from library DEF routine

       PSF_<name>_CLOSE( SLOT, STATUS )

         SLOT   <int>     The PSF reference

       PSF_<name>_PFL( SLOT, NFRAC, FRAC, RADII, STATUS )

         SLOT   <int>     The PSF reference
         NFRAC  <int>     The number of radii to evaluate
         FRAC   <real>[]  The energy radii required
         RADII  <real>[]  The radii in radians for each energy fraction



Asterix
2000-06-28