IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 8, 2006, 5:08:08 PM (20 years ago)
Author:
Paul Price
Message:

Broad changes to introduce pmHDU, and allow read/write at any level. Modified the camera configuration to use camera config (components of the camera) and format descriptions (FITS file layout).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/astrom/pmFPA.h

    r6518 r6552  
    77*  @author GLG, MHPCC
    88*
    9 *  @version $Revision: 1.1.4.2 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2006-03-04 03:03:28 $
     9*  @version $Revision: 1.1.4.3 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-03-09 03:08:08 $
    1111*
    1212*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    1818#include <config.h>
    1919#endif
     20
    2021#include "pslib.h"
    21 #include "psDB.h"
     22#include "pmHDU.h"
    2223
    2324/// @addtogroup AstroImage
    2425/// @{
    25 
    2626
    2727/** Focal plane data structure
     
    4343typedef struct
    4444{
     45    #if 0
    4546    // Astrometric transformations
    4647    psPlaneDistort* fromTangentPlane;   ///< Transformation from tangent plane to focal plane
    4748    psPlaneDistort* toTangentPlane;     ///< Transformation from focal plane to tangent plane
    4849    psProjection *projection;           ///< Projection from tangent plane to sky
     50    #endif
    4951    // Information
    5052    psMetadata *concepts;               ///< Cache for PS concepts
     
    7274typedef struct
    7375{
     76    #if 0
    7477    // Offset specifying position on focal plane
    7578    int col0;                           ///< Offset from the left of FPA.
     
    7881    psPlaneTransform* toFPA;            ///< Transformation from chip to FPA coordinates
    7982    psPlaneTransform* fromFPA;          ///< Transformation from FPA to chip coordinates
     83    #endif
    8084    // Information
    8185    psMetadata *concepts;               ///< Cache for PS concepts
     
    100104typedef struct
    101105{
    102     // Offset specifying position on chip
    103     int col0;                           ///< Offset from the left of chip.
    104     int row0;                           ///< Offset from the bottom of chip.
    105     // Astrometric transformations
    106     psPlaneTransform* toChip;           ///< Transformations from cell to chip coordinates
    107     psPlaneTransform* toFPA;            ///< Transformations from cell to FPA coordinates
    108     psPlaneTransform* toSky;            ///< Transformations from cell to sky coordinates
    109     // Information
    110106    psMetadata *concepts;               ///< Cache for PS concepts
    111     psMetadata *camera;                 ///< Camera Info
     107    psMetadata *config;                 ///< Cell configuration info
    112108    psMetadata *analysis;               ///< Cell-level analysis metadata
    113109    psArray *readouts;                  ///< The readouts (referred to by number)
     
    168164pmCell *pmCellAlloc(
    169165    pmChip *chip,       ///< Parent chip
    170     psMetadata *cameraData, ///< Camera data
    171166    const char *name    ///< Name of cell
    172167);
     
    199194);
    200195
    201 /** Allocates a p_pmHDU
    202  *
    203  * XXX: More detailed description
    204  *
    205  * @return p_pmHDU*    newly allocated p_pmHDU
    206  */
    207 p_pmHDU *p_pmHDUAlloc(const char *extname // Extension name
    208                      );
    209 
     196// Find the HDU in the FPA hierarchy
     197pmHDU *pmHDUFromFPA(pmFPA *fpa          // FPA for which to find HDU
     198                   );
     199pmHDU *pmHDUFromChip(pmChip *chip       // Chip for which to find HDU
     200                    );
     201pmHDU *pmHDUFromCell(pmCell *cell       // Cell for which to find HDU
     202                    );
    210203
    211204/** Verify parent links.
Note: See TracChangeset for help on using the changeset viewer.