IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 11, 2021, 11:35:13 AM (5 years ago)
Author:
eugene
Message:

explicitly use Ordinary polynomials for forward astrometry transformations (chip->fpa->tpa->sky)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-dev-20210817/psModules/src/astrom/pmAstrometryModel.c

    r41826 r41832  
    500500        int nY = psMetadataLookupS32(&status, row, "NYORDER"); REQUIRE (status, "missing NYORDER");
    501501        if (chip->toFPA == NULL) {
    502             chip->toFPA = psPlaneTransformAlloc(nX, nY);
     502            chip->toFPA = psPlaneTransformAlloc(nX, nY, PS_POLYNOMIAL_ORD); // chip->fpa uses ordinary poly
    503503        } else {
    504504            REQUIRE (chip->toFPA->x->nX == nX, "mismatch in chip order");
     
    569569        if (file->fpa->toTPA == NULL) {
    570570            // allocate the new transformation
    571             file->fpa->toTPA = psPlaneTransformAlloc(nX, nY);
     571            file->fpa->toTPA = psPlaneTransformAlloc(nX, nY, PS_POLYNOMIAL_ORD); // fpa->tpa uses ORD
    572572        } else {
    573573            REQUIRE (file->fpa->toTPA->x->nX == nX, "mismatch in chip order");
Note: See TracChangeset for help on using the changeset viewer.