- Timestamp:
- Sep 20, 2016, 1:32:59 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20160809/psastro/src/psastroModelAdjust.c
r39686 r39706 91 91 92 92 // get the current posangle of the ref chip 93 float chipAngle = atan2 (refChip->toFPA->y->coeff[1][0], refChip->toFPA->x->coeff[1][0]); 93 // this should have a negative sign : chipAngle = -atan2 (dM/dy, dM/dx) 94 float chipAngle = -atan2 (refChip->toFPA->y->coeff[1][0], refChip->toFPA->x->coeff[1][0]); 94 95 95 96 // chipAngle should be refChipAngleNominal @ POSANGLE = 0.0 … … 110 111 psRegion *region = pmChipPixels (chip); 111 112 113 // this should ALSO have a negative sign: this rotates by +posAngleOffset 112 114 psPlaneTransform *toFPA = psPlaneTransformRotate (NULL, chip->toFPA, posAngleOffset); 113 115 psFree (chip->toFPA);
Note:
See TracChangeset
for help on using the changeset viewer.
