Changeset 216 for trunk/archive/pslib/include/psAstrom.h
- Timestamp:
- Mar 11, 2004, 10:43:36 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psAstrom.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psAstrom.h
r214 r216 10 10 /* Include colour definitions */ 11 11 #include "psColour.h" 12 /* Include matrix definitions */ 12 13 #include "psMatrix.h" 13 14 15 16 /***********************************************************************************************************/ 17 18 /** Astrometric coefficients. 19 * First twelve coefficients are: const, x, y, x*x, x*y, y*y, x*x*x, x*x*y, x*y*y, y*y*y, mag, color 20 */ 21 typedef struct { 22 psDoubleArray *restrict coeff; //!< Coefficients of astrometric solution 23 psDoubleArray *restrict coeffErr; //!< Error in coefficients 24 psBitMask *restrict coeffMask; //!< Use this coefficient? 25 psColourRef colourRef; //!< Colour reference 26 } psAstromCoeffs; 27 28 /** Constructor */ 29 psAstromCoeffs * 30 psAstromCoeffsAlloc(void); 31 32 /** Destructor */ 33 void 34 psAstromCoeffsFree(psAstromCoeffs *restrict myAstromCoeffs //!< Object to destroy 35 ); 14 /* Include polynomial definitions */ 15 #include "psFunctions.h" 36 16 37 17 /***********************************************************************************************************/ … … 163 143 * must calculate for each tangent point. 164 144 * 165 * Coordinate frames 2 and 3 are hidden from the user because all they care about is going between frames 1166 * and 4.145 * Coordinate frames 2 and 3 are generally hidden from the user because all they care about is going between 146 * frames 1 and 4. 167 147 */ 168 148 typedef struct { 169 149 /* Focal plane to and from tangent plane */ 170 psAstromCoeffs *restrict tpToFP; //!< General astrometric solution for tangent plane to focal plane 171 psAstromCoeffs *restrict fpToTP; //!< General astrometric solution for focal plane to tangent plane 150 psDPolynomial2D *restrict tpToFP; //!< General astrometric solution for tangent plane to focal plane 151 psDPolynomial2D *restrict fpToTP; //!< General astrometric solution for focal plane to tangent plane 152 enum psColorRef colorRef; //!< Colour reference 172 153 psMatrix *pattern; //!< Fixed pattern distortions for focal plane to tangent plane (simply 173 154 //!< * -1 for the reverse); MAY NEED TO BE REVISED UPON IMPLEMENTATION
Note:
See TracChangeset
for help on using the changeset viewer.
