Changeset 8304
- Timestamp:
- Aug 11, 2006, 5:00:57 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/find_matches_closest.c
r8243 r8304 1 1 # include "addstar.h" 2 # define DEBUG 1 2 3 3 4 void find_matches_closest (SkyRegion *region, Stars *stars, int Nstars, Catalog *catalog, Image *image, Image *overlap, int Noverlap, Coords *mosaic, AddstarClientOptions options) { … … 95 96 /** find matched stars **/ 96 97 for (i = j = 0; (i < Nstars) && (j < Nave); ) { 98 if (!finite(X1[i]) || !finite(Y1[i])) { 99 i++; 100 continue; 101 } 102 if (!finite(X2[j]) || !finite(Y2[j])) { 103 j++; 104 continue; 105 } 97 106 98 107 /* negative dX: j is too large */ … … 140 149 n = N2[Jmin]; 141 150 N = N1[i]; 151 152 if (DEBUG) fprintf (stderr, "matched %f,%f and %f,%f\n", 153 catalog[0].average[n].R, catalog[0].average[n].D, 154 stars[N].R, stars[N].D); 142 155 143 156 /* add to end of measurement list */
Note:
See TracChangeset
for help on using the changeset viewer.
