Changeset 38598 for trunk/Ohana/src/getstar/src/MatchImages.c
- Timestamp:
- Jul 16, 2015, 11:48:00 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/getstar/src/MatchImages.c (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/getstar/src/MatchImages.c
-
Property svn:mergeinfo
set to
/branches/eam_branches/ipp-20150616/Ohana/src/getstar/src/MatchImages.c merged eligible /branches/eam_branches/ipp-20150625/Ohana/src/getstar/src/MatchImages.c merged eligible
r37807 r38598 23 23 /* we keep the original crpix1,2 and crref1,2 */ 24 24 /* for mosaic astrometry, the grid should be w.r.t. the tangent-plane, not chip coords */ 25 InitCoords (&tcoords, "DEC--TAN"); 25 26 InitCoords (&tcoords, "DEC--ARC"); 27 tcoords.cdelt1 = tcoords.cdelt2 = 1.0 / 3600.0; 28 29 tcoords.crval1 = image[0].coords.crval1; 30 tcoords.crval2 = image[0].coords.crval2; 26 31 if (!strcmp (&image[0].coords.ctype[4], "-WRP")) { 27 32 myAssert (image[0].coords.mosaic, "should already have tested this"); 28 tcoords = image[0].coords.mosaic[0]; 29 tcoords.cdelt1 = tcoords.cdelt2 = 1.0 / 3600.0; 30 /* register so image->sky conversions below have correct mosaic */ 31 } else { 32 tcoords = image[0].coords; 33 tcoords.cdelt1 = tcoords.cdelt2 = 1.0 / 3600.0; 33 tcoords.crval1 = image[0].coords.mosaic[0].crval1; 34 tcoords.crval2 = image[0].coords.mosaic[0].crval2; 34 35 } 35 36 -
Property svn:mergeinfo
set to
Note:
See TracChangeset
for help on using the changeset viewer.
