IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 221


Ignore:
Timestamp:
Mar 12, 2004, 10:34:01 AM (22 years ago)
Author:
Paul Price
Message:

Astrometric coefficients are now 4D polynomials in (x,y,mag,colour).
This simplicity means we can remove psAstromCoeffs (again!). So now
there are four individual 4D polynomials that define the forward and
reverse transformations: focal plane to tangent plane for Xi; focal
plane to tangent plane for Eta; tangent plane to focal plane for X;
and tangent plane to focal plane for Y.

File:
1 edited

Legend:

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

    r219 r221  
    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  */
    27 typedef 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;
    3616
    3717
     
    169149typedef struct {
    170150    /* Focal plane to and from tangent plane */
    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
     151    psDPolynomial4D *restrict tpToFPX, *restrict tpToFPY; //!< General astrometric solution for tangent plane
     152                                                          //!< to focal plane
     153    psDPolynomial4D *restrict fpToTPXi, *restrict fpToTPEta; //!< General astrometric solution for focal plane
     154                                                             //!< to tangent plane
    173155    psMatrix *pattern;                  //!< Fixed pattern distortions for focal plane to tangent plane (simply
    174156                                        //!< * -1 for the reverse); MAY NEED TO BE REVISED UPON IMPLEMENTATION
     
    176158    psDoubleArray *restrict tp;         //!< Data needed to convert from the sky to the tangent plane and back;
    177159                                        //!< produced by and used by SLALib (a.k.a. "Wallace's Grommit")
     160    enum psColorrRef colorRef;          //!< Colour reference
    178161    /* Characterisation of the solution */
    179162    float rmsX, rmsY;                   //!< Dispersion in astrometric solution
Note: See TracChangeset for help on using the changeset viewer.