IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39755


Ignore:
Timestamp:
Oct 13, 2016, 1:14:56 PM (10 years ago)
Author:
eugene
Message:

add some comments

Location:
branches/czw_branch/20160809/psastro/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20160809/psastro/src/psastroFixChips.c

    r27639 r39755  
    306306        psRegion *region = pmChipPixels (obsChip);
    307307        obsChip->toFPA   = toFPA;
     308        // NOTE: when we call psPlaneTransformInvert here, we do not increase the order as in other places
    308309        obsChip->fromFPA = psPlaneTransformInvert(NULL, obsChip->toFPA, *region, 50);
    309310        psFree (region);
  • branches/czw_branch/20160809/psastro/src/psastroModelAdjust.c

    r39706 r39755  
    117117
    118118        // invert the new fromFPA transform to get the new toFPA transform
     119        // NOTE: when we call psPlaneTransformInvert here, we do not increase the order as in other places
    119120        psPlaneTransform *fromFPA = psPlaneTransformInvert(NULL, chip->toFPA, *region, 50);
    120121        psFree (chip->fromFPA);
     
    138139
    139140    psFree (output->fpa->fromTPA);
     141    // NOTE: when we call psPlaneTransformInvert here, we do not increase the order as in other places
    140142    output->fpa->fromTPA = psPlaneTransformInvert(NULL, output->fpa->toTPA, *fpaRegion, 50);
    141143
     
    185187        // invert the new fromFPA transform to get the new toFPA transform
    186188        // the region used here is the region covered by the chip in the FPA
     189        // NOTE: when we call psPlaneTransformInvert here, we do not increase the order as in other places
    187190        psPlaneTransform *fromFPA = psPlaneTransformInvert(NULL, chip->toFPA, *region, 50);
    188191        psFree (chip->fromFPA);
  • branches/czw_branch/20160809/psastro/src/psastroMosaicAstrom.c

    r39724 r39755  
    282282    psFree (fpa->fromTPA);
    283283    psPlaneTransform *myPT = psPlaneTransformAlloc(fpa->toTPA->x->nX+4, fpa->toTPA->x->nY+4);
    284 
    285284    fpa->fromTPA = psPlaneTransformInvert (myPT, fpa->toTPA, fitRegion, 100);
    286285    psFree (myPT);
Note: See TracChangeset for help on using the changeset viewer.