IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 30, 2004, 10:18:37 AM (22 years ago)
Author:
desonia
Message:

Updated psChip/psCell to current SDRS spec.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/psAstrometry.h

    r2600 r2855  
    88*  @author GLG, MHPCC
    99*
    10 *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2004-12-02 21:12:51 $
     10*  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2004-12-30 20:18:36 $
    1212*
    1313*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9999typedef struct
    100100{
    101     const psU32 colBins;        ///< Amount of binning in x-dimension
    102     const psU32 rowBins;        ///< Amount of binning in y-dimension
    103     const psS32 col0;                    ///< Offset from the left of chip.
    104     const psS32 row0;                    ///< Offset from the bottom of chip.
     101    const psS32 col0;                  ///< Offset from the left of chip.
     102    const psS32 row0;                  ///< Offset from the bottom of chip.
     103
     104    const int colParity;               ///< Column Readout Direction
     105    const int rowParity;               ///< Row Readout Direction
     106
     107    const psU32 colBins;               ///< Amount of binning in x-dimension
     108    const psU32 rowBins;               ///< Amount of binning in y-dimension
    105109
    106110    psImage* image;                    ///< Imaging area of readout
     
    122126typedef struct
    123127{
     128    const psS32 col0;                  ///< Offset from the left of chip
     129    const psS32 row0;                  ///< Offset from the bottom of chip
     130
    124131    psArray* readouts;                 ///< readouts from the cell
     132
    125133    psMetadata* metadata;              ///< cell-level metadata
    126134
    127135    psPlaneTransform* toChip;          ///< transformations from cell to chip coordinates
    128     psPlaneTransform* fromChip;        ///< transformations from chip to cell coordinates
     136    psPlaneTransform* fromChip;        ///< transformations from cell to chip coordinates
    129137    psPlaneTransform* toFPA;           ///< transformations from cell to FPA coordinates
    130     psPlaneTransform* toTP;            ///< transformations from cell to tangent plane coordinates
    131     psPlaneTransform* toSky;            ///< transformations from cell to tangent plane coordinates
     138    psPlaneTransform* toTP;            ///< transformations from cell to FPA coordinates
     139    psPlaneTransform* toSky;           ///< transformations from cell to tangent plane coordinates
    132140
    133141    struct psChip* parent;             ///< chip in which contains this cell
     
    145153typedef struct psChip
    146154{
     155    const psS32 col0;                  ///< Offset from the left of FPA
     156    const psS32 row0;                  ///< Offset from the bottom of FPA
     157
    147158    psArray* cells;                    ///< cells in the chip
     159
    148160    psMetadata* metadata;              ///< chip-level metadata
    149161
     
    282294/** Allocator for psObservatory
    283295 *
    284  *  This function shall construct a new psObservatory with attributes 
     296 *  This function shall construct a new psObservatory with attributes
    285297 *  cooresponding to the function parameters.
    286298 *
     
    340352 *  to NULL.
    341353 *
    342  *  @return psReadout*    newly allocated psReadout
    343  */
    344 psReadout* psReadoutAlloc(
    345     psS32 col0,                          ///< offset from the left of the cell
    346     psS32 row0,                          ///< offset from the bottom of the cell
    347     const psImage* image               ///< image of the readout
    348 );
     354 *  @return psReadout*    newly allocated psReadout with all internal pointers set to NULL
     355 */
     356psReadout* psReadoutAlloc();
    349357
    350358/** Allocates a Wallace's Grommit structure.
Note: See TracChangeset for help on using the changeset viewer.