IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 3, 2021, 2:26:18 PM (5 years ago)
Author:
eugene
Message:

pass in additional orders to psPlaneTransformInvert; some minor comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroMosaicAstrom.c

    r41499 r41536  
    296296    psRegion fitRegion = psRegionSet (xMin, xMax, yMin, yMax);
    297297
    298     // psPlaneTransformInvert will generate a new fromTPA with order to match toTPA
     298    // psPlaneTransformInvert will generate a new fromTPA (order increased vs toTPA)
    299299    psFree (fpa->fromTPA);
    300     psPlaneTransform *myPT = psPlaneTransformAlloc(fpa->toTPA->x->nX+4, fpa->toTPA->x->nY+4);
    301     fpa->fromTPA = psPlaneTransformInvert (myPT, fpa->toTPA, fitRegion, 100);
    302     psFree (myPT);
     300    fpa->fromTPA = psPlaneTransformInvert (NULL, fpa->toTPA, fitRegion, 100, 4);
    303301
    304302    psFree (fpa->toSky);
Note: See TracChangeset for help on using the changeset viewer.