Changeset 1426 for trunk/psLib/src/astronomy/psAstrometry.h
- Timestamp:
- Aug 9, 2004, 12:44:25 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astronomy/psAstrometry.h (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psAstrometry.h
r1407 r1426 9 9 * @author George Gusciora, MHPCC 10 10 * 11 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-08-0 7 00:06:06$11 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-08-09 22:44:25 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 45 45 typedef struct 46 46 { 47 const double latitude; // /< geodetic latitude (radians)48 const double sinLat; // /< sine of geodetic latitude49 const double cosLat; // /< cosine of geodetic latitude50 const double abberationMag; // /< magnitude of diurnal aberration vector51 const double height; // /< height (HM)52 const double temperature; // /< ambient temperature (TDK)53 const double pressure; // /< pressure (PMB)54 const double humidity; // /< relative humidity (RH)55 const double wavelength; // /< wavelength (WL)56 const double lapseRate; // /< lapse rate (TLR)57 const double refractA; // /< refraction constant A (radians)58 const double refractB; // /< refraction constant B (radians)59 const double longitudeOffset; // /< longitude + ... (radians)60 const double siderealTime; // /< local apparent sidereal time (radians)47 const double latitude; ///< geodetic latitude (radians) 48 const double sinLat; ///< sine of geodetic latitude 49 const double cosLat; ///< cosine of geodetic latitude 50 const double abberationMag; ///< magnitude of diurnal aberration vector 51 const double height; ///< height (HM) 52 const double temperature; ///< ambient temperature (TDK) 53 const double pressure; ///< pressure (PMB) 54 const double humidity; ///< relative humidity (RH) 55 const double wavelength; ///< wavelength (WL) 56 const double lapseRate; ///< lapse rate (TLR) 57 const double refractA; ///< refraction constant A (radians) 58 const double refractB; ///< refraction constant B (radians) 59 const double longitudeOffset; ///< longitude + ... (radians) 60 const double siderealTime; ///< local apparent sidereal time (radians) 61 61 } 62 62 psGrommit; … … 73 73 typedef struct 74 74 { 75 int nX; // /< Number of elements in x direction76 int nY; // /< Number of elements in y direction77 double x0; // /< X Position of 0,0 corner on focal plane78 double y0; // /< Y Position of 0,0 corner on focal plane79 double xScale; // /< Scale of the grid in x direction80 double yScale; // /< Scale of the grid in x direction81 double **x; // /< The grid of offsets in x82 double **y; // /< The grid of offsets in y75 int nX; ///< Number of elements in x direction 76 int nY; ///< Number of elements in y direction 77 double x0; ///< X Position of 0,0 corner on focal plane 78 double y0; ///< Y Position of 0,0 corner on focal plane 79 double xScale; ///< Scale of the grid in x direction 80 double yScale; ///< Scale of the grid in x direction 81 double **x; ///< The grid of offsets in x 82 double **y; ///< The grid of offsets in y 83 83 } 84 84 psFixedPattern; … … 95 95 typedef struct 96 96 { 97 const unsigned int colBins; // /< Amount of binning in x-dimension98 const unsigned int rowBins; // /< Amount of binning in y-dimension99 const int col0; // /< Offset from the left of chip.100 const int row0; // /< Offset from the bottom of chip.101 102 psImage *image; // /< imaging area of Readout103 psList *objects; // /< objects derived from Readout104 psMetadata *metadata; // /< readout-level metadata97 const unsigned int colBins; ///< Amount of binning in x-dimension 98 const unsigned int rowBins; ///< Amount of binning in y-dimension 99 const int col0; ///< Offset from the left of chip. 100 const int row0; ///< Offset from the bottom of chip. 101 102 psImage *image; ///< imaging area of Readout 103 psList *objects; ///< objects derived from Readout 104 psMetadata *metadata; ///< readout-level metadata 105 105 } 106 106 psReadout; … … 117 117 typedef struct psCell 118 118 { 119 psArray *readouts; // /< readouts from the cell120 psMetadata *metadata; // /< cell-level metadata121 122 psPlaneTransform *toChip; // /< transformations from cell to chip coordinates123 psPlaneTransform *fromChip; // /< transformations from chip to cell coordinates124 psPlaneTransform *toFPA; // /< transformations from cell to FPA coordinates125 psPlaneTransform *toSky; // /< transformations from cell to sky coordinates126 127 struct psChip *parent; // /< chip in which contains this cell119 psArray *readouts; ///< readouts from the cell 120 psMetadata *metadata; ///< cell-level metadata 121 122 psPlaneTransform *toChip; ///< transformations from cell to chip coordinates 123 psPlaneTransform *fromChip; ///< transformations from chip to cell coordinates 124 psPlaneTransform *toFPA; ///< transformations from cell to FPA coordinates 125 psPlaneTransform *toSky; ///< transformations from cell to sky coordinates 126 127 struct psChip *parent; ///< chip in which contains this cell 128 128 } 129 129 psCell; … … 139 139 typedef struct psChip 140 140 { 141 psArray *cells; // /< cells in the chip142 psMetadata *metadata; // /< chip-level metadata143 144 psPlaneTransform *toFPA; // /< transformation from chip to FPA coordinates145 psPlaneTransform *fromFPA; // /< transformation from FPA to chip coordinates146 147 struct psFPA *parent; // /< FPA which contains this chip141 psArray *cells; ///< cells in the chip 142 psMetadata *metadata; ///< chip-level metadata 143 144 psPlaneTransform *toFPA; ///< transformation from chip to FPA coordinates 145 psPlaneTransform *fromFPA; ///< transformation from FPA to chip coordinates 146 147 struct psFPA *parent; ///< FPA which contains this chip 148 148 } 149 149 psChip; … … 164 164 typedef struct psFPA 165 165 { 166 psArray *chips; // /< chips in the focal plane array167 psMetadata *metadata; // /< focal-plane's metadata168 169 psPlaneDistort *fromTangentPlane; // /< transformation from tangent plane to focal plane170 psPlaneDistort *toTangentPlane; // /< transformation from focal plane to tangent plane171 psFixedPattern *pattern; // /< fixed pattern residual offsets172 173 const struct psExposure *exposure; // /< information about this exposure174 175 psPhotSystem *colorPlus; // /< Color reference176 psPhotSystem *colorMinus; // /< Color reference177 178 float rmsX; // /< RMS for x transformation fits179 float rmsY; // /< RMS for y transformation fits180 float chi2; // /< chi^2 of astrometric solution166 psArray *chips; ///< chips in the focal plane array 167 psMetadata *metadata; ///< focal-plane's metadata 168 169 psPlaneDistort *fromTangentPlane; ///< transformation from tangent plane to focal plane 170 psPlaneDistort *toTangentPlane; ///< transformation from focal plane to tangent plane 171 psFixedPattern *pattern; ///< fixed pattern residual offsets 172 173 const struct psExposure *exposure; ///< information about this exposure 174 175 psPhotSystem *colorPlus; ///< Color reference 176 psPhotSystem *colorMinus; ///< Color reference 177 178 float rmsX; ///< RMS for x transformation fits 179 float rmsY; ///< RMS for y transformation fits 180 float chi2; ///< chi^2 of astrometric solution 181 181 } 182 182 psFPA; … … 191 191 typedef struct psExposure 192 192 { 193 const double ra; // /< Telescope boresight, right ascention194 const double dec; // /< Telescope boresight, declination195 const double hourAngle; // /< Hour angle196 const double zenith; // /< Zenith distance197 const double azimuth; // /< Azimuth198 const double localTime; // /< Local Sidereal Time199 const float date; // /< Modified Jullian Date of observation200 const float rotAngle; // /< Rotator position angle201 const float temperature; // /< Air temperature, for estimating refraction202 const float pressure; // /< Air pressure, for calculating refraction203 const float humidity; // /< Relative humidity, for refraction204 const float exposureTime; // /< Exposure time193 const double ra; ///< Telescope boresight, right ascention 194 const double dec; ///< Telescope boresight, declination 195 const double hourAngle; ///< Hour angle 196 const double zenith; ///< Zenith distance 197 const double azimuth; ///< Azimuth 198 const double localTime; ///< Local Sidereal Time 199 const float date; ///< Modified Jullian Date of observation 200 const float rotAngle; ///< Rotator position angle 201 const float temperature; ///< Air temperature, for estimating refraction 202 const float pressure; ///< Air pressure, for calculating refraction 203 const float humidity; ///< Relative humidity, for refraction 204 const float exposureTime; ///< Exposure time 205 205 206 206 /* Derived quantities */ 207 const float positionAngle; // /< Position angle208 const float parallacticAngle; // /< Parallactic angle209 const float airmass; // /< Airmass, calculated from zenith distance210 const float parallacticFactor; // /< Parallactic factor211 const char *cameraName; // /< name of camera which provided exposure212 const char *telescopeName; // /< name of telescope which provided exposure207 const float positionAngle; ///< Position angle 208 const float parallacticAngle; ///< Parallactic angle 209 const float airmass; ///< Airmass, calculated from zenith distance 210 const float parallacticFactor; ///< Parallactic factor 211 const char *cameraName; ///< name of camera which provided exposure 212 const char *telescopeName; ///< name of telescope which provided exposure 213 213 } 214 214 psExposure; 215 215 216 psExposure *psExposureAlloc(double ra, // /< Telescope boresight, right ascention217 double dec, // /< Telescope boresight, declination218 double hourAngle, // /< Hour angle219 double zenith, // /< Zenith distance220 double azimuth, // /< Azimuth221 double localTime, // /< Local Sidereal Time222 float date, // /< MJD223 float rotAngle, // /< Rotator position angle224 float temperature, // /< Temperature225 float pressure, // /< Pressure226 float humidity, // /< Relative humidity227 float exposureTime // /< Exposure time216 psExposure *psExposureAlloc(double ra, ///< Telescope boresight, right ascention 217 double dec, ///< Telescope boresight, declination 218 double hourAngle, ///< Hour angle 219 double zenith, ///< Zenith distance 220 double azimuth, ///< Azimuth 221 double localTime, ///< Local Sidereal Time 222 float date, ///< MJD 223 float rotAngle, ///< Rotator position angle 224 float temperature, ///< Temperature 225 float pressure, ///< Pressure 226 float humidity, ///< Relative humidity 227 float exposureTime ///< Exposure time 228 228 ); 229 229 … … 235 235 * @return psGrommit* New grommit structure. 236 236 */ 237 psGrommit *psGrommitAlloc(const psExposure * exp // /< the cooresponding exposure structure.237 psGrommit *psGrommitAlloc(const psExposure * exp ///< the cooresponding exposure structure. 238 238 ); 239 239
Note:
See TracChangeset
for help on using the changeset viewer.
