Changeset 27488 for branches/eam_branches/relastro.20100326/src/ImageOps.c
- Timestamp:
- Mar 26, 2010, 4:43:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relastro.20100326/src/ImageOps.c
r27478 r27488 286 286 Coords *moscoords, *imcoords; 287 287 288 // check if this image is bad and should be skipped 289 if (badCoords(im)) return; 290 288 291 moscoords = NULL; 289 292 mosaic = getMosaicForImage (im); … … 292 295 } 293 296 imcoords = &image[im].coords; 297 298 // accumulate the rms position offsets. if this value, or any specific entry, is too 299 // large, we will reset the image to the original coords at the end of the analysis 300 301 dPos = 0.0; 302 nPos = 0; 294 303 295 304 for (i = 0; i < Nlist[im]; i++) { … … 317 326 318 327 if (fabs(catalog[c].measure[m].dR - dR) > 10.0) { 319 // XXXXX running into this still for last megacam exposure: wrong mosaic?320 // ???? inconsistently hitting this????321 328 fprintf (stderr, "!"); 322 // abort (); 329 setBadCoords (im); // report a failure for this image 330 return; 323 331 } 324 332 if (fabs(catalog[c].measure[m].dD - dD) > 10.0) { 325 333 fprintf (stderr, "*"); 326 // abort (); 327 } 334 setBadCoords (im); // report a failure for this image 335 return; 336 } 337 338 dPos += SQ(catalog[c].measure[m].dR - dR) + SQ(catalog[c].measure[m].dD - dD); 339 nPos ++; 328 340 329 341 catalog[c].measure[m].dR = dR; … … 341 353 } 342 354 } 355 356 saveOffsets (dPos, nPos, im); 357 343 358 return; 344 359 }
Note:
See TracChangeset
for help on using the changeset viewer.
