- Timestamp:
- Mar 26, 2010, 4:43:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relastro.20100326/src/UpdateChips.c
r27435 r27488 7 7 Image *image; 8 8 StarData *raw, *ref; 9 Coords *oldCoords; 9 10 10 11 image = getimages (&Nimage); … … 24 25 assert (Nraw == Nref); 25 26 27 saveCoords (&image[i].coords, i); 28 26 29 // FitChip does iterative, clipped fitting 27 30 fprintf (stderr, "image %lld : Nstars: %lld\n", (long long) i, (long long) Nraw); 28 FitChip (raw, ref, Nraw, &image[i].coords); 31 if (!FitChip (raw, ref, Nraw, &image[i].coords)) { 32 oldCoords = getCoords (i); 33 memcpy (&image[i].coords, oldCoords, sizeof(Coords)); 34 } 29 35 30 36 free (raw);
Note:
See TracChangeset
for help on using the changeset viewer.
