Changeset 39981 for trunk/psModules
- Timestamp:
- Feb 23, 2017, 4:22:35 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmAstrometryWCS.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryWCS.c
r39979 r39981 695 695 // the region defines the FPA pixels covered by the tranformation 696 696 psFree (fpa->fromTPA); 697 psPlaneTransform *myPT = psPlaneTransformAlloc(fpa->toTPA->x->nX+4, fpa->toTPA->x->nY+4); 697 698 int additional_orders = 4; // This is the number of orders that should be added. 699 bool status = false; 700 int config_additional_orders = psMetadataLookupS32(&status,fpa->analysis, "ADDITIONAL_WCS_ORDERS"); 701 if (status) { // If this keyword is found, then use that number of orders instead 702 additional_orders = config_additional_orders; 703 } 704 705 psPlaneTransform *myPT = psPlaneTransformAlloc(fpa->toTPA->x->nX+additional_orders, fpa->toTPA->x->nY+additional_orders); 698 706 fpa->fromTPA = psPlaneTransformInvert(myPT, fpa->toTPA, region, 50); 699 707 psFree (myPT);
Note:
See TracChangeset
for help on using the changeset viewer.
