IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 219


Ignore:
Timestamp:
Mar 11, 2004, 11:20:33 AM (22 years ago)
Author:
Paul Price
Message:

Re-instituted psAstromCoeffs when I realised we need to have magnitude
and colour polynomials as well.

File:
1 edited

Legend:

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

    r216 r219  
    1414/* Include polynomial definitions */
    1515#include "psFunctions.h"
     16
     17/***********************************************************************************************************/
     18
     19/**
     20 * Astrometry coefficients.
     21 * These are composed of:
     22 * (1) Coefficients in x and y --- a general spatial fit.
     23 * (2) Coefficients in x and y for each polynomial order in magnitude, e.g. one set of coefficients in x and
     24 * y for mag^1, another set of coefficients in x and y for mag^2.
     25 * (3) Coefficients in x and y for each polynomial order in colour.
     26 */
     27typedef struct {
     28    psDPolynomial2D *restrict ra, dec;  //!< Spatial coefficients, i.e. x and y
     29    int magOrder;                       //!< Order of polynomial in magnitude
     30    psDPolynomial2D *restrict raMag, decMag; //!< An ARRAY of polynomials for each polynomial order in
     31                                             //!< magnitude
     32    int colorOrder;                     //!< Order of polynomial in colour
     33    psDPolynomial2D *restrict raCol, decCol; //!< An ARRAY of polynomials for each polynomial order in colour
     34    enum psColorRef colorRef;           //!< Colour reference
     35} psAstromCoeffs;
     36
    1637
    1738/***********************************************************************************************************/
     
    148169typedef struct {
    149170    /* Focal plane to and from 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
     171    psAstromCoeffs *restrict tpToFP;    //!< General astrometric solution for tangent plane to focal plane
     172    psAstromCoeffs *restrict fpToTP;    //!< General astrometric solution for focal plane to tangent plane
    153173    psMatrix *pattern;                  //!< Fixed pattern distortions for focal plane to tangent plane (simply
    154174                                        //!< * -1 for the reverse); MAY NEED TO BE REVISED UPON IMPLEMENTATION
Note: See TracChangeset for help on using the changeset viewer.