Changeset 40523 for trunk/Ohana/src/opihi/dvo/mmatch.c
- Timestamp:
- Aug 30, 2018, 5:07:23 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/mmatch.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/mmatch.c
r39457 r40523 84 84 85 85 // parse the fields to be extracted and returned 86 int first = 3; 87 if (CoordsFile) { 88 first = 1; 89 } 86 // this is a syntax check that we can perform before reading the input vectors 87 // NOTE: This block is missing in avmatch / avselect 88 int first = CoordsFile ? 1 : 3; 90 89 fields = dbCmdlineFields (argc-first, &argv[first], DVO_TABLE_MEASURE, &last, &Nfields); 91 90 if (fields == NULL) goto help; … … 166 165 } 167 166 167 // NOTE: image metadata is only needed to mmatch (not avmatch) since measures are tied to images, not averages 168 168 if (loadImages) { 169 169 Image *image; … … 245 245 char hostfile[1024]; 246 246 snprintf (hostfile, 1024, "%s/%s.cpt", HOSTDIR, skylist[0].regions[i]->name); 247 247 248 dvo_catalog_init (&catalog, TRUE); 248 249 catalog.filename = HOST_ID ? hostfile : skylist[0].filename[i]; … … 265 266 266 267 // returns the matches to AVERAGE objects; what do we do for each MEASURE? 267 find_matches_by_vectors (skylist[0].regions[i], &catalog, RAvec, DECvec, RADIUS, index);268 find_matches_by_vectors_closest (skylist[0].regions[i], &catalog, RAvec, DECvec, RADIUS, index); 268 269 269 270 for (j = 0; (j < Nelem) && !interrupt; j++) { … … 331 332 ClearInterrupt (old_sigaction); 332 333 334 // XXXX ???? this seems odd 333 335 for (n = 0; n < Nfields; n++) { 334 336 ResetVector (vec[n], fields[n].type, Npts);
Note:
See TracChangeset
for help on using the changeset viewer.
