Changeset 621
- Timestamp:
- May 7, 2004, 3:30:46 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psAstrom.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psAstrom.h
r399 r621 23 23 /** Information needed (by SLALIB) to convert Apparent to Observed Position */ 24 24 typedef struct { 25 double latitude;///< geodetic latitude (radians)26 double sinLat, cosLat;///< sine and cosine of geodetic latitude27 double abberationMag;///< magnitude of diurnal aberration vector28 double height;///< height (HM)29 double temperature;///< ambient temperature (TDK)30 double pressure;///< pressure (PMB)31 double humidity;///< relative humidity (RH)32 double wavelength;///< wavelength (WL)33 double lapseRate;///< lapse rate (TLR)34 double refractA, refractB;///< refraction constants A and B (radians)35 double longitudeOffset;///< longitude + eqn of equinoxes + ``sidereal UT'' (radians)36 double siderealTime;///< local apparent sidereal time (radians)25 const double latitude; ///< geodetic latitude (radians) 26 const double sinLat, cosLat; ///< sine and cosine of geodetic latitude 27 const double abberationMag; ///< magnitude of diurnal aberration vector 28 const double height; ///< height (HM) 29 const double temperature; ///< ambient temperature (TDK) 30 const double pressure; ///< pressure (PMB) 31 const double humidity; ///< relative humidity (RH) 32 const double wavelength; ///< wavelength (WL) 33 const double lapseRate; ///< lapse rate (TLR) 34 const double refractA, refractB; ///< refraction constants A and B (radians) 35 const double longitudeOffset; ///< longitude + eqn of equinoxes + ``sidereal UT'' (radians) 36 const double siderealTime; ///< local apparent sidereal time (radians) 37 37 } psGrommit; 38 38 … … 40 40 typedef struct { 41 41 // Telescope longitude, latitude and height are stored separately, since they don't change with pointing 42 double ra, dec;///< Telescope boresight43 double ha;///< Hour angle44 double zd;///< Zenith distance45 double az;///< Azimuth46 double lst;///< Local Sidereal Time47 float mjd;///< MJD of observation48 float rotAngle;///< Rotator position angle49 float temp;///< Air temperature, for estimating refraction50 float pressure;///< Air pressure, for calculating refraction51 float humidity;///< Relative humidity, for calculating refraction52 float exptime;///< Exposure time42 const double ra, dec; ///< Telescope boresight 43 const double ha; ///< Hour angle 44 const double zd; ///< Zenith distance 45 const double az; ///< Azimuth 46 const double lst; ///< Local Sidereal Time 47 const float mjd; ///< MJD of observation 48 const float rotAngle; ///< Rotator position angle 49 const float temp; ///< Air temperature, for estimating refraction 50 const float pressure; ///< Air pressure, for calculating refraction 51 const float humidity; ///< Relative humidity, for calculating refraction 52 const float exptime; ///< Exposure time 53 53 /* Derived quantities */ 54 float posAngle; ///< Position angle 55 float parallactic; ///< Parallactic angle 56 float airmass; ///< Airmass, calculated from zenith distance 57 float pf; ///< Parallactic factor 58 char *cameraName; ///< name of camera which provided exposure 59 char *telescopeName; ///< name of telescope which provided exposure 60 psGrommit *grommit; ///< Data needed to convert from the sky to the tangent plane 54 const float posAngle; ///< Position angle 55 const float parallactic; ///< Parallactic angle 56 const float airmass; ///< Airmass, calculated from zenith distance 57 const float pf; ///< Parallactic factor 58 const char *cameraName; ///< name of camera which provided exposure 59 const char *telescopeName; ///< name of telescope which provided exposure 61 60 } psExposure; 62 61 … … 83 82 psDistortion *FPtoTP; ///< Transformation term from 84 83 psFixedPattern *pattern; ///< Fixed pattern residual offsets 85 psExposure *exp;///< information about this exposure84 const psExposure *exp; ///< information about this exposure 86 85 psPhotSystem colorPlus, colorMinus; ///< Colour reference 87 86 float rmsX, rmsY; ///< Dispersion in astrometric solution … … 120 119 /** a Readout: a collection of pixels */ 121 120 typedef struct { 122 const int x0, y0; ///< Offset from the lower-left corner 123 const int nx, ny;///< Image binning121 const int x0, y0; ///< Offset from the lower-left corner of the physical device 122 const int xBin, yBin; ///< Image binning 124 123 psImage *image; ///< imaging area of cell 125 124 psDlist *objects; ///< objects derived from cell 126 psImage *overscan; ///< bias region (subimage) of cell127 125 psMetadata *md; ///< Readout-level metadata 128 126 } psReadout; … … 289 287 psExposureFree(psExposure *restrict myExp ///< Object to destroy 290 288 ); 289 290 /** Constructor */ 291 psGrommit * 292 psGrommitAlloc(const psExposure *exp ///< Relevant exposure 293 ); 294 295 /** Destructor */ 296 void 297 psGrommitFree(psGrommit *grommit ///< Grommit to destroy 298 ); 299 291 300 /* \} */ // End of AstroGroup Functions 292 301
Note:
See TracChangeset
for help on using the changeset viewer.
