- Timestamp:
- Oct 1, 2021, 9:50:01 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-dev-20210817/psModules/src/astrom/pmAstrometryModel.c
r41823 r41826 461 461 bool status; 462 462 463 int ExtraOrders = pmAstrometryGetExtraOrders(); 464 463 465 // set FITS cursor 464 466 if (!psFitsMoveExtName (file->fits, "CHIPS")) { … … 525 527 // as of r40806, psPlaneTransformInvert supplies the extra order (if non-linear) 526 528 psFree (chip->fromFPA); 527 chip->fromFPA = psPlaneTransformInvert(NULL, chip->toFPA, *region, 50, E XTRA_ORDERS);529 chip->fromFPA = psPlaneTransformInvert(NULL, chip->toFPA, *region, 50, ExtraOrders); 528 530 529 531 psFree (region); … … 539 541 540 542 bool status; 543 544 int ExtraOrders = pmAstrometryGetExtraOrders(); 541 545 542 546 if (!psFitsMoveExtName (file->fits, "FP")) { … … 587 591 // as of r40806, psPlaneTransformInvert supplies the extra order (if non-linear) 588 592 psFree (file->fpa->fromTPA); 589 file->fpa->fromTPA = psPlaneTransformInvert(NULL, file->fpa->toTPA, *region, 50, E XTRA_ORDERS);593 file->fpa->fromTPA = psPlaneTransformInvert(NULL, file->fpa->toTPA, *region, 50, ExtraOrders); 590 594 591 595 psFree (model); … … 684 688 bool status; 685 689 690 int ExtraOrders = pmAstrometryGetExtraOrders(); 691 686 692 // these externally supplied values are used to set the final transformation terms 687 693 double RA = psMetadataLookupF64 (&status, concepts, "FPA.RA"); REQUIRE (status, "missing FPA.RA"); … … 731 737 732 738 psFree (file->fpa->fromTPA); 733 file->fpa->fromTPA = psPlaneTransformInvert(NULL, file->fpa->toTPA, *region, 50, E XTRA_ORDERS);739 file->fpa->fromTPA = psPlaneTransformInvert(NULL, file->fpa->toTPA, *region, 50, ExtraOrders); 734 740 735 741 psFree (region);
Note:
See TracChangeset
for help on using the changeset viewer.
