IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 11, 2021, 11:36:17 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/psastro/src/psastroFixChips.c

    r41536 r41833  
    170170    if (DEBUG) fclose (f);
    171171
    172     psPlaneTransform *map = psPlaneTransformAlloc (1, 1);
     172    psPlaneTransform *map = psPlaneTransformAlloc (1, 1, PS_POLYNOMIAL_ORD);
    173173
    174174    psVector *mask = psVectorAlloc (nPts, PS_TYPE_VECTOR_MASK);
     
    289289        // apply the exiting fromTPA transformation to make the new toFPA consistent with the toTPA layter
    290290        // XXX this only works if toTPA is at most a linear transformation
    291         psPlaneTransform *toFPA = psPlaneTransformAlloc(refChip->toFPA->x->nX, refChip->toFPA->x->nY);
     291        psPlaneTransform *toFPA = psPlaneTransformAlloc(refChip->toFPA->x->nX, refChip->toFPA->x->nY, PS_POLYNOMIAL_ORD);
    292292        for (int i = 0; i <= refChip->toFPA->x->nX; i++) {
    293293            for (int j = 0; j <= refChip->toFPA->x->nY; j++) {
Note: See TracChangeset for help on using the changeset viewer.