IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 7, 2004, 9:16:49 AM (22 years ago)
Author:
desonia
Message:

changes resulting of testing (bugs found).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/psAstrometry.h

    r1981 r2001  
    88*  @author George Gusciora, MHPCC
    99*
    10 *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2004-10-06 21:30:14 $
     10*  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2004-10-07 19:16:46 $
    1212*
    1313*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    184184psFPA;
    185185
     186/** Observatory Information
     187 *
     188 *  A container for the observatory data that doesn't change per exposure.
     189 *
     190 */
     191typedef struct
     192{
     193    const char* name;                  ///< Name of observatory
     194    const double latitude;             ///< Latitude of observatory, east positive
     195    const double longitude;            ///< Longitude of observatory
     196    const double height;               ///< Height of observatory
     197    const double tlr;                  ///< Tropospheric Lapse Rate
     198}
     199psObservatory;
     200
    186201/** Exposure Information
    187202 *
     
    196211    const double dec;                  ///< Telescope boresight, declination
    197212    const double hourAngle;            ///< Hour angle
    198     const double zenith;               ///< Zenith distance
     213    const double zenithDistance;       ///< Zenith distance
    199214    const double azimuth;              ///< Azimuth
    200     const double localTime;            ///< Local Sidereal Time
    201     const float date;                  ///< Modified Jullian Date of observation
     215    const psTime* time;                ///< Time of observation
    202216    const float rotAngle;              ///< Rotator position angle
    203217    const float temperature;           ///< Air temperature, for estimating refraction
     
    205219    const float humidity;              ///< Relative humidity, for refraction
    206220    const float exposureTime;          ///< Exposure time
    207     const double wavelength;           ///< Wavelength
     221    const float wavelength;            ///< Wavelength
     222    const psObservatory* observatory;  ///< Observatory data
    208223
    209224    /* Derived quantities */
     225    const double lst;                  ///< Local Sidereal Time
    210226    const float positionAngle;         ///< Position angle
    211227    const float parallacticAngle;      ///< Parallactic angle
    212228    const float airmass;               ///< Airmass, calculated from zenith distance
    213229    const float parallacticFactor;     ///< Parallactic factor
    214     const char *cameraName;            ///< name of camera which provided exposure
    215     const char *telescopeName;         ///< name of telescope which provided exposure
     230    const char* cameraName;            ///< name of camera which provided exposure
     231    const char* telescopeName;         ///< name of telescope which provided exposure
    216232}
    217233psExposure;
    218 
    219 /** Observatory Information
    220  *
    221  *  A container for the observatory data that doesn't change per exposure.
    222  *
    223  */
    224 typedef struct
    225 {
    226     const char* name;                  ///< Name of observatory
    227     const double latitude;             ///< Latitude of observatory, east positive
    228     const double longitude;            ///< Longitude of observatory
    229     const double height;               ///< Height of observatory
    230     const double tlr;                  ///< Tropospheric Lapse Rate
    231 }
    232 psObservatory;
    233 
    234234
    235235/** Allocator for psFixedPattern struct
     
    262262    double dec,                        ///< Telescope boresight, declination
    263263    double hourAngle,                  ///< Hour angle
    264     double zenith,                     ///< Zenith distance
     264    double zenithDistance,             ///< Zenith distance
    265265    double azimuth,                    ///< Azimuth
    266     double localTime,                  ///< Local Sidereal Time
    267     float date,                        ///< MJD
     266    const psTime* time,                ///< time of observation
    268267    float rotAngle,                    ///< Rotator position angle
    269268    float temperature,                 ///< Temperature
    270269    float pressure,                    ///< Pressure
    271270    float humidity,                    ///< Relative humidity
    272     float exposureTime                 ///< Exposure time
     271    float exposureTime,                ///< Exposure time
     272    float wavelength,                  ///< wavelength
     273    const psObservatory* observatory   ///< Observatory data
    273274);
    274275
Note: See TracChangeset for help on using the changeset viewer.