- Timestamp:
- Sep 8, 2014, 2:44:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/getstar/src/MatchImages.c
r36481 r37378 24 24 /* for mosaic astrometry, the grid should be w.r.t. the tangent-plane, not chip coords */ 25 25 if (!strcmp (&image[0].coords.ctype[4], "-WRP")) { 26 // if the input image is a mosaic, we need to register that mosaic for the calculations below 27 if (MOSAIC == NULL) { 28 fprintf (stderr, "no mosaic for WRP image (use -mosaic)\n"); 29 return NULL; 30 } 31 RegisterMosaic (MOSAIC); 32 33 tcoords = MOSAIC[0]; 26 myAssert (image[0].coords.mosaic, "should already have tested this"); 27 tcoords = image[0].coords.mosaic[0]; 34 28 tcoords.cdelt1 = tcoords.cdelt2 = 1.0 / 3600.0; 35 29 tcoords.pc1_1 = tcoords.pc2_2 = 1.0; … … 77 71 if (!WITH_PHU && !strcmp (&dbImages[i].coords.ctype[4], "-DIS")) continue; 78 72 if ( SOLO_PHU && strcmp (&dbImages[i].coords.ctype[4], "-DIS")) continue; 79 80 /* if any of these images are WRP images, need to find matching DIS */81 if (!FindMosaicForImage (dbImages, NdbImages, i)) continue;82 73 83 74 /* define image corners */
Note:
See TracChangeset
for help on using the changeset viewer.
