IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 4, 2004, 1:37:39 PM (22 years ago)
Author:
desonia
Message:

found the server astyle upgrade was faulty, so the format was reset.

File:
1 edited

Legend:

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

    r1384 r1385  
    88*  @author George Gusciora, MHPCC
    99*
    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 $
    1212*
    1313*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4343 */
    4444typedef struct
    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     }
     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}
    6161psGrommit;
    6262
     
    7171 */
    7272typedef struct
    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     }
     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}
    8383psFixedPattern;
    8484
     
    9393 */
    9494typedef struct
    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     }
     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}
    105105psReadout;
    106106
     
    115115 */
    116116typedef struct psCell
    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     }
     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}
    128128psCell;
    129129
     
    137137 */
    138138typedef struct psChip
    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     }
     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}
    148148psChip;
    149149
     
    162162 */
    163163typedef struct psFPA
    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     }
     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}
    181181psFPA;
    182182
     
    189189 */
    190190typedef struct psExposure
    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     }
     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}
    213213psExposure;
    214214
Note: See TracChangeset for help on using the changeset viewer.