Changeset 7008
- Timestamp:
- Apr 30, 2006, 12:05:41 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmFPA.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmFPA.h
r6972 r7008 7 7 * @author GLG, MHPCC 8 8 * 9 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2006-04- 25 00:26:48$9 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2006-04-30 22:05:41 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 #include "pslib.h" 22 22 #include "pmHDU.h" 23 24 # define FPA_ASTROM 1 23 25 24 26 /// @addtogroup AstroImage … … 43 45 typedef struct 44 46 { 45 # if 047 # if FPA_ASTROM 46 48 // Astrometric transformations 47 49 psPlaneDistort* fromTangentPlane; ///< Transformation from tangent plane to focal plane 48 psPlaneDistort* toTangentPlane; ///< Transformation from focal plane to tangent plane49 psProjection *projection; ///< Projection from tangent plane to sky50 #endif51 // Information52 psMetadata *concepts; ///< Cache for PS concepts53 unsigned int conceptsRead; ///< Which concepts have been read54 psMetadata *analysis; ///< FPA-level analysis metadata55 const psMetadata *camera; ///< Camera configuration56 psArray *chips; ///< The chips57 pmHDU *hdu; ///< FITS data50 psPlaneDistort* toTangentPlane; ///< Transformation from focal plane to tangent plane 51 psProjection *projection; ///< Projection from tangent plane to sky 52 # endif 53 // Information 54 psMetadata *concepts; ///< Cache for PS concepts 55 unsigned int conceptsRead; ///< Which concepts have been read 56 psMetadata *analysis; ///< FPA-level analysis metadata 57 const psMetadata *camera; ///< Camera configuration 58 psArray *chips; ///< The chips 59 pmHDU *hdu; ///< FITS data 58 60 } 59 61 pmFPA; … … 75 77 typedef struct 76 78 { 77 #if 0 79 # if FPA_ASTROM 78 80 // Offset specifying position on focal plane 79 81 int col0; ///< Offset from the left of FPA. 80 int row0; ///< Offset from the bottom of FPA.81 // Astrometric transformations82 psPlaneTransform* toFPA; ///< Transformation from chip to FPA coordinates83 psPlaneTransform* fromFPA; ///< Transformation from FPA to chip coordinates84 #endif85 // Information86 psMetadata *concepts; ///< Cache for PS concepts87 unsigned int conceptsRead; ///< Which concepts have been read88 psMetadata *analysis; ///< Chip-level analysis metadata89 psArray *cells; ///< The cells (referred to by name)90 pmFPA *parent; ///< Parent FPA91 bool process; ///< Do we bother about reading and working with this chip?92 bool file_exists; ///< Does the file for this chip exist (read case only)?93 bool data_exists; ///< Does the data for this chip exist (read case only)?94 pmHDU *hdu; ///< FITS data95 struct pmCell *mosaic; ///< A mosaic cell82 int row0; ///< Offset from the bottom of FPA. 83 // Astrometric transformations 84 psPlaneTransform* toFPA; ///< Transformation from chip to FPA coordinates 85 psPlaneTransform* fromFPA; ///< Transformation from FPA to chip coordinates 86 # endif 87 // Information 88 psMetadata *concepts; ///< Cache for PS concepts 89 unsigned int conceptsRead; ///< Which concepts have been read 90 psMetadata *analysis; ///< Chip-level analysis metadata 91 psArray *cells; ///< The cells (referred to by name) 92 pmFPA *parent; ///< Parent FPA 93 bool process; ///< Do we bother about reading and working with this chip? 94 bool file_exists; ///< Does the file for this chip exist (read case only)? 95 bool data_exists; ///< Does the data for this chip exist (read case only)? 96 pmHDU *hdu; ///< FITS data 97 struct pmCell *mosaic; ///< A mosaic cell 96 98 } 97 99 pmChip; … … 108 110 typedef struct 109 111 { 110 psMetadata *concepts; ///< Cache for PS concepts111 unsigned int conceptsRead; ///< Which concepts have been read112 psMetadata *config; ///< Cell configuration info113 psMetadata *analysis; ///< Cell-level analysis metadata114 psArray *readouts; ///< The readouts (referred to by number)115 pmChip *parent; ///< Parent chip116 bool process; ///< Do we bother about reading and working with this cell?117 bool file_exists; ///< Does the file for this cell exist (read case only)?118 bool data_exists; ///< Does the data for this cell exist (read case only)?119 pmHDU *hdu; ///< FITS data112 psMetadata *concepts; ///< Cache for PS concepts 113 unsigned int conceptsRead; ///< Which concepts have been read 114 psMetadata *config; ///< Cell configuration info 115 psMetadata *analysis; ///< Cell-level analysis metadata 116 psArray *readouts; ///< The readouts (referred to by number) 117 pmChip *parent; ///< Parent chip 118 bool process; ///< Do we bother about reading and working with this cell? 119 bool file_exists; ///< Does the file for this cell exist (read case only)? 120 bool data_exists; ///< Does the data for this cell exist (read case only)? 121 pmHDU *hdu; ///< FITS data 120 122 } 121 123 pmCell; … … 133 135 typedef struct 134 136 { 135 int col0; ///< Column offset; non-zero if reading in columns bit by bit136 int row0; ///< Row offset; non-zero if reading in rows bit by bit137 psImage *image; ///< Imaging area of readout138 psImage *mask; ///< Mask of input image139 psImage *weight; ///< Weight of input image140 psList *bias; ///< Overscan images141 psMetadata *analysis; ///< Readout-level analysis metadata142 pmCell *parent; ///< Parent cell143 bool process; ///< Do we bother about reading and working with this readout?144 bool file_exists; ///< Does the file for this readout exist (read case only)?145 bool data_exists; ///< Does the data for this readout exist (read case only)?137 int col0; ///< Column offset; non-zero if reading in columns bit by bit 138 int row0; ///< Row offset; non-zero if reading in rows bit by bit 139 psImage *image; ///< Imaging area of readout 140 psImage *mask; ///< Mask of input image 141 psImage *weight; ///< Weight of input image 142 psList *bias; ///< Overscan images 143 psMetadata *analysis; ///< Readout-level analysis metadata 144 pmCell *parent; ///< Parent cell 145 bool process; ///< Do we bother about reading and working with this readout? 146 bool file_exists; ///< Does the file for this readout exist (read case only)? 147 bool data_exists; ///< Does the data for this readout exist (read case only)? 146 148 } 147 149 pmReadout;
Note:
See TracChangeset
for help on using the changeset viewer.
