- Timestamp:
- Oct 18, 2016, 2:59:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20160809/psModules/src/astrom/pmAstrometryModel.c
r36834 r39777 687 687 char *refChip = psMetadataLookupStr(&status, file->fpa->concepts, "REF_CHIP"); REQUIRE (status, "missing REF_CHIP"); 688 688 689 int rotatorParity = psMetadataLookupS32(&status, file->fpa->concepts, "ROT.PARITY"); REQUIRE (status, "missing ROT.PARITY"); 690 689 691 // XXX we've swapped the sign and parity of POS (add to model) 690 692 // apply true posangle = -(POS - POS_ZERO) 691 693 psLogMsg ("psModules.astrom", 4, "Position Angle: %f, Model Position Angle Zero Point: %f\n", POS, PosZero); 692 psPlaneTransform *fromTPA = psPlaneTransformRotate (NULL, file->fpa->fromTPA, (PosZero - POS));694 psPlaneTransform *fromTPA = psPlaneTransformRotate (NULL, file->fpa->fromTPA, rotatorParity * (PosZero - POS)); 693 695 psFree (file->fpa->fromTPA); 694 696 file->fpa->fromTPA = fromTPA;
Note:
See TracChangeset
for help on using the changeset viewer.
