Changeset 41903 for trunk/psModules
- Timestamp:
- Nov 5, 2021, 10:59:21 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmAstrometryWCS.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryWCS.c
r41892 r41903 697 697 } 698 698 699 // XXX the way this is coded, updates will NOT have the same behavior as with the700 // original code: the if ADDITIONAL_WCS_ORDERS is not found, the default701 // should be 0 (or else we need some way to detect the update version)702 703 699 // the transformation used the region to define the inversion grid 704 700 // the region defines the FPA pixels covered by the tranformation 705 701 psFree (fpa->fromTPA); 706 int additional_orders = pmAstrometryGetExtraOrders(); // This is the number of orders that should be added. 707 bool status = false; 708 int config_additional_orders = psMetadataLookupS32(&status,fpa->analysis, "ADDITIONAL_WCS_ORDERS"); 709 if (status) { // If this keyword is found, then use that number of orders instead 710 additional_orders = config_additional_orders; 711 } 712 fpa->fromTPA = psPlaneTransformInvert(NULL, fpa->toTPA, region, 50, additional_orders); 702 int ExtraOrders = pmAstrometryGetExtraOrders(); // This is the number of orders that should be added. 703 fpa->fromTPA = psPlaneTransformInvert(NULL, fpa->toTPA, region, 50, ExtraOrders); 713 704 return true; 714 705 }
Note:
See TracChangeset
for help on using the changeset viewer.
