Changeset 18354
- Timestamp:
- Jun 27, 2008, 5:18:10 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackSources.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackSources.c
r18353 r18354 68 68 for (long i = 0; i < numSources; i++) { 69 69 pmSource *source = sources->data[i]; // Source of interest 70 if (!source || source->mode & SOURCE_MASK) {70 if (!source || (source->mode & SOURCE_MASK) || !isfinite(source->psfMag) || source->psfMag == 99.0) { 71 71 continue; 72 72 } … … 412 412 float x, y; 413 413 coordsFromSource(&x, &y, source); 414 fprintf(srcFile, "%f\t%f\ n", x, y);414 fprintf(srcFile, "%f\t%f\t%f\n", x, y, source->psfMag); 415 415 } 416 416 fclose(srcFile);
Note:
See TracChangeset
for help on using the changeset viewer.
