IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 9, 2004, 5:54:55 PM (22 years ago)
Author:
rhl
Message:

Misc changes to make code actually compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psAstrom.h

    r160 r198  
    1010/* Include colour definitions */
    1111#include "psColour.h"
     12#include "psMatrix.h"
    1213
    1314
     
    2122    int xyColourOrder;                  //!< Spatial (x,y) order of polynomial in colour times x and y
    2223    int xyMagOrder;                     //!< Spatial (x,y) order of polynomial in magnitude times x and y
    23     enum psColourRef colourRef;         //!< Colour reference
     24    psColourRef colourRef;              //!< Colour reference
    2425    psDoubleArray *restrict coeff;      //!< Coefficients of astrometric solution
    2526    psDoubleArray *restrict coeffErr;   //!< Error in coefficients
     
    2829/** Constructor */
    2930psAstromCoeffs *
    30 psAstromCoeffsAlloc(int xyOrder,                //!< Spatial (x,y) order of polynomial
    31                   int colourOrder,      //!< Order of polynomial in colour
    32                   int magOrder,         //!< Order of polynomial in magnitude
    33                   int xyColourOrder,    //!< Spatial (x,y) order of polynomial in colour times x and y
    34                   int xyMagOrder,       //!< Spatial (x,y) order of polynomial in magnitude times x and y
    35                   enum psColourRef colourRef //!< Colour reference
     31psAstromCoeffsAlloc(int xyOrder,        //!< Spatial (x,y) order of polynomial
     32                    int colourOrder,    //!< Order of polynomial in colour
     33                    int magOrder,       //!< Order of polynomial in magnitude
     34                    int xyColourOrder,  //!< Spatial (x,y) order of polynomial in colour times x and y
     35                    int xyMagOrder,     //!< Spatial (x,y) order of polynomial in magnitude times x and y
     36                    psColourRef colourRef //!< Colour reference
    3637    );
    3738
     
    112113    float rotation;                     //!< Rotation of OTA on the focal plane.  Specified from +x through +y
    113114    psCellDescriptionArray *restrict cells; //!< Cell descriptions
    114     psOTAAstrom *astrom;                //!< OTA astrometry
     115    struct psOTAAstrom *astrom;             //!< OTA astrometry
    115116} psOTADescription;
    116117
     
    157158
    158159/** Constructor */
    159 psAstrom *
    160 psAstromAlloc(const psTelPointing *telescope //!< Telescope pointing, used to initialise the tp data.
    161     );
    162 
    163 /** Destructor */
    164 void
    165 psAstromFree(psAstrom *restrict myAstrom        //!< Object to destroy
     160psOTAAstrom *
     161psOTAAstromAlloc(const psTelPointing *telescope //!< Telescope pointing, used to initialise the tp data.
     162    );
     163
     164/** Destructor */
     165void
     166psOTAAstromFree(psOTAAstrom *restrict myAstrom  //!< Object to destroy
    166167    );
    167168
     
    204205float
    205206psGetParallactic(const psSkyPos *restrict position, //!< Position on the sky
    206                  real siderealTime      //!< Sidereal time
     207                 float siderealTime     //!< Sidereal time
    207208                 );
    208209
     
    210211float
    211212psGetRefraction(float colour,           //!< Colour of object
    212                 enum psColourRef colourRef; //!< Colour reference
     213                psColourRef colourRef,  //!< Colour reference
    213214                psTelPointing telescope //!< Telescope pointing information, for airmass, temp and pressure
    214215    );
Note: See TracChangeset for help on using the changeset viewer.