Changeset 19823 for trunk/Ohana/src/getstar
- Timestamp:
- Oct 2, 2008, 8:08:31 AM (18 years ago)
- Location:
- trunk/Ohana/src/getstar/src
- Files:
-
- 2 edited
-
ReadImageHeader.c (modified) (1 diff)
-
args.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/getstar/src/ReadImageHeader.c
r19065 r19823 58 58 } else { 59 59 /* force image to lie in 0-360 range */ 60 while (image[0].coords.crval1 < 0) image[0].coords.crval1 += 360.0; 61 while (image[0].coords.crval1 > 360.0) image[0].coords.crval1 -= 360.0; 60 image[0].coords.crval1 = ohana_normalize_angle (image[0].coords.crval1); 62 61 } 63 62 -
trunk/Ohana/src/getstar/src/args.c
r15543 r19823 96 96 // XXX we will have issues at 0,360 boundary... 97 97 // see code in dvo/pmeasure for fixes 98 while (REGION.Rmin > 360) REGION.Rmin -= 360.0; 99 while (REGION.Rmin < 0) REGION.Rmin += 360.0; 100 while (REGION.Rmax > 360) REGION.Rmax -= 360.0; 101 while (REGION.Rmax < 0) REGION.Rmax += 360.0; 98 REGION.Rmin = ohana_normalize_angle (REGION.Rmin); 99 REGION.Rmax = ohana_normalize_angle (REGION.Rmax); 100 102 101 if (REGION.Dmax < REGION.Dmin) { 103 102 SWAP (REGION.Dmax, REGION.Dmin);
Note:
See TracChangeset
for help on using the changeset viewer.
