Changeset 37386 for branches/eam_branches/ipp-20140904/Ohana/src/getstar
- Timestamp:
- Sep 11, 2014, 3:39:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/getstar/src/MatchImages.c
r37378 r37386 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 if (!strcmp (&image[0].coords.ctype[4], "-WRP")) { 26 27 myAssert (image[0].coords.mosaic, "should already have tested this"); 27 28 tcoords = image[0].coords.mosaic[0]; 28 29 tcoords.cdelt1 = tcoords.cdelt2 = 1.0 / 3600.0; 29 tcoords.pc1_1 = tcoords.pc2_2 = 1.0;30 tcoords.pc1_2 = tcoords.pc2_1 = 0.0;31 tcoords.Npolyterms = 1;32 strcpy (tcoords.ctype, "DEC--TAN");33 30 /* register so image->sky conversions below have correct mosaic */ 34 31 } else { 35 32 tcoords = image[0].coords; 36 33 tcoords.cdelt1 = tcoords.cdelt2 = 1.0 / 3600.0; 37 tcoords.pc1_1 = tcoords.pc2_2 = 1.0;38 tcoords.pc1_2 = tcoords.pc2_1 = 0.0;39 tcoords.Npolyterms = 1;40 strcpy (tcoords.ctype, "DEC--TAN");41 34 } 42 35
Note:
See TracChangeset
for help on using the changeset viewer.
