Changeset 1385 for trunk/psLib/src/astronomy/psAstrometry.h
- Timestamp:
- Aug 4, 2004, 1:37:39 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astronomy/psAstrometry.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psAstrometry.h
r1384 r1385 8 8 * @author George Gusciora, MHPCC 9 9 * 10 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-08-04 23: 12:34$10 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-08-04 23:37:39 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 43 43 */ 44 44 typedef struct 45 {46 const double latitude; ///< geodetic latitude (radians)47 const double sinLat; ///< sine of geodetic latitude48 const double cosLat; ///< cosine of geodetic latitude49 const double abberationMag; ///< magnitude of diurnal aberration vector50 const double height; ///< height (HM)51 const double temperature; ///< ambient temperature (TDK)52 const double pressure; ///< pressure (PMB)53 const double humidity; ///< relative humidity (RH)54 const double wavelength; ///< wavelength (WL)55 const double lapseRate; ///< lapse rate (TLR)56 const double refractA; ///< refraction constant A (radians)57 const double refractB; ///< refraction constant B (radians)58 const double longitudeOffset; ///< longitude + ... (radians)59 const double siderealTime; ///< local apparent sidereal time (radians)60 }45 { 46 const double latitude; ///< geodetic latitude (radians) 47 const double sinLat; ///< sine of geodetic latitude 48 const double cosLat; ///< cosine of geodetic latitude 49 const double abberationMag; ///< magnitude of diurnal aberration vector 50 const double height; ///< height (HM) 51 const double temperature; ///< ambient temperature (TDK) 52 const double pressure; ///< pressure (PMB) 53 const double humidity; ///< relative humidity (RH) 54 const double wavelength; ///< wavelength (WL) 55 const double lapseRate; ///< lapse rate (TLR) 56 const double refractA; ///< refraction constant A (radians) 57 const double refractB; ///< refraction constant B (radians) 58 const double longitudeOffset; ///< longitude + ... (radians) 59 const double siderealTime; ///< local apparent sidereal time (radians) 60 } 61 61 psGrommit; 62 62 … … 71 71 */ 72 72 typedef struct 73 {74 int nX; ///< Number of elements in x direction75 int nY; ///< Number of elements in y direction76 double x0; ///< X Position of 0,0 corner on focal plane77 double y0; ///< Y Position of 0,0 corner on focal plane78 double xScale; ///< Scale of the grid in x direction79 double yScale; ///< Scale of the grid in x direction80 double **x; ///< The grid of offsets in x81 double **y; ///< The grid of offsets in y82 }73 { 74 int nX; ///< Number of elements in x direction 75 int nY; ///< Number of elements in y direction 76 double x0; ///< X Position of 0,0 corner on focal plane 77 double y0; ///< Y Position of 0,0 corner on focal plane 78 double xScale; ///< Scale of the grid in x direction 79 double yScale; ///< Scale of the grid in x direction 80 double **x; ///< The grid of offsets in x 81 double **y; ///< The grid of offsets in y 82 } 83 83 psFixedPattern; 84 84 … … 93 93 */ 94 94 typedef struct 95 {96 const unsigned int colBins; ///< Amount of binning in x-dimension97 const unsigned int rowBins; ///< Amount of binning in y-dimension98 const int col0; ///< Offset from the left of chip.99 const int row0; ///< Offset from the bottom of chip.100 101 psImage* image; ///< imaging area of Readout102 psList* objects; ///< objects derived from Readout103 psMetadata* metadata; ///< readout-level metadata104 }95 { 96 const unsigned int colBins; ///< Amount of binning in x-dimension 97 const unsigned int rowBins; ///< Amount of binning in y-dimension 98 const int col0; ///< Offset from the left of chip. 99 const int row0; ///< Offset from the bottom of chip. 100 101 psImage* image; ///< imaging area of Readout 102 psList* objects; ///< objects derived from Readout 103 psMetadata* metadata; ///< readout-level metadata 104 } 105 105 psReadout; 106 106 … … 115 115 */ 116 116 typedef struct psCell 117 {118 psArray* readouts; ///< readouts from the cell119 psMetadata* metadata; ///< cell-level metadata120 121 psPlaneTransform* toChip; ///< transformations from cell to chip coordinates122 psPlaneTransform* fromChip; ///< transformations from chip to cell coordinates123 psPlaneTransform* toFPA; ///< transformations from cell to FPA coordinates124 psPlaneTransform* toSky; ///< transformations from cell to sky coordinates125 126 struct psChip* parent; ///< chip in which contains this cell127 }117 { 118 psArray* readouts; ///< readouts from the cell 119 psMetadata* metadata; ///< cell-level metadata 120 121 psPlaneTransform* toChip; ///< transformations from cell to chip coordinates 122 psPlaneTransform* fromChip; ///< transformations from chip to cell coordinates 123 psPlaneTransform* toFPA; ///< transformations from cell to FPA coordinates 124 psPlaneTransform* toSky; ///< transformations from cell to sky coordinates 125 126 struct psChip* parent; ///< chip in which contains this cell 127 } 128 128 psCell; 129 129 … … 137 137 */ 138 138 typedef struct psChip 139 {140 psArray* cells; ///< cells in the chip141 psMetadata* metadata; ///< chip-level metadata142 143 psPlaneTransform* toFPA; ///< transformation from chip to FPA coordinates144 psPlaneTransform* fromFPA; ///< transformation from FPA to chip coordinates145 146 struct psFPA* parent; ///< FPA which contains this chip147 }139 { 140 psArray* cells; ///< cells in the chip 141 psMetadata* metadata; ///< chip-level metadata 142 143 psPlaneTransform* toFPA; ///< transformation from chip to FPA coordinates 144 psPlaneTransform* fromFPA; ///< transformation from FPA to chip coordinates 145 146 struct psFPA* parent; ///< FPA which contains this chip 147 } 148 148 psChip; 149 149 … … 162 162 */ 163 163 typedef struct psFPA 164 {165 psArray* chips; ///< chips in the focal plane array166 psMetadata* metadata; ///< focal-plane's metadata167 168 psPlaneDistort* fromTangentPlane; ///< transformation from tangent plane to focal plane169 psPlaneDistort* toTangentPlane; ///< transformation from focal plane to tangent plane170 psFixedPattern* pattern; ///< fixed pattern residual offsets171 172 const struct psExposure* exposure; ///< information about this exposure173 174 psPhotSystem* colorPlus; ///< Color reference175 psPhotSystem* colorMinus; ///< Color reference176 177 float rmsX; ///< RMS for x transformation fits178 float rmsY; ///< RMS for y transformation fits179 float chi2; ///< chi^2 of astrometric solution180 }164 { 165 psArray* chips; ///< chips in the focal plane array 166 psMetadata* metadata; ///< focal-plane's metadata 167 168 psPlaneDistort* fromTangentPlane; ///< transformation from tangent plane to focal plane 169 psPlaneDistort* toTangentPlane; ///< transformation from focal plane to tangent plane 170 psFixedPattern* pattern; ///< fixed pattern residual offsets 171 172 const struct psExposure* exposure; ///< information about this exposure 173 174 psPhotSystem* colorPlus; ///< Color reference 175 psPhotSystem* colorMinus; ///< Color reference 176 177 float rmsX; ///< RMS for x transformation fits 178 float rmsY; ///< RMS for y transformation fits 179 float chi2; ///< chi^2 of astrometric solution 180 } 181 181 psFPA; 182 182 … … 189 189 */ 190 190 typedef struct psExposure 191 {192 const double ra; ///< Telescope boresight, right ascention193 const double dec; ///< Telescope boresight, declination194 const double hourAngle; ///< Hour angle195 const double zenith; ///< Zenith distance196 const double azimuth; ///< Azimuth197 const double localTime; ///< Local Sidereal Time198 const float date; ///< Modified Jullian Date of observation199 const float rotAngle; ///< Rotator position angle200 const float temperature; ///< Air temperature, for estimating refraction201 const float pressure; ///< Air pressure, for calculating refraction202 const float humidity; ///< Relative humidity, for refraction203 const float exposureTime; ///< Exposure time204 205 /* Derived quantities */206 const float positionAngle; ///< Position angle207 const float parallacticAngle; ///< Parallactic angle208 const float airmass; ///< Airmass, calculated from zenith distance209 const float parallacticFactor; ///< Parallactic factor210 const char *cameraName; ///< name of camera which provided exposure211 const char *telescopeName; ///< name of telescope which provided exposure212 }191 { 192 const double ra; ///< Telescope boresight, right ascention 193 const double dec; ///< Telescope boresight, declination 194 const double hourAngle; ///< Hour angle 195 const double zenith; ///< Zenith distance 196 const double azimuth; ///< Azimuth 197 const double localTime; ///< Local Sidereal Time 198 const float date; ///< Modified Jullian Date of observation 199 const float rotAngle; ///< Rotator position angle 200 const float temperature; ///< Air temperature, for estimating refraction 201 const float pressure; ///< Air pressure, for calculating refraction 202 const float humidity; ///< Relative humidity, for refraction 203 const float exposureTime; ///< Exposure time 204 205 /* Derived quantities */ 206 const float positionAngle; ///< Position angle 207 const float parallacticAngle; ///< Parallactic angle 208 const float airmass; ///< Airmass, calculated from zenith distance 209 const float parallacticFactor; ///< Parallactic factor 210 const char *cameraName; ///< name of camera which provided exposure 211 const char *telescopeName; ///< name of telescope which provided exposure 212 } 213 213 psExposure; 214 214
Note:
See TracChangeset
for help on using the changeset viewer.
