Changeset 20940 for trunk/ppStack/src/ppStackSources.c
- Timestamp:
- Dec 8, 2008, 11:47:47 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackSources.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackSources.c
r19227 r20940 228 228 FILE *file = fopen(filename, "w"); // File to write 229 229 psFree(filename); 230 fprintf(file, "# x y mag1 mag2\n");230 fprintf(file, "# x1 y1 x2 y2 mag1 mag1err mag2 mag2err flag1 flag2\n"); 231 231 #endif 232 232 … … 252 252 isfinite(listMag) && isfinite(sourceMag)) { 253 253 #ifdef TESTING 254 fprintf(file, "%f %f %f %f %.4x %.4x\n", x->data.F32[i], y->data.F32[i], 255 listSource->psfMag, source->psfMag, listSource->mode, source->mode); 254 float xList, yList; // Coordinates from source on list 255 coordsFromSource(&xList, &yList, listSource); 256 fprintf(file, "%f %f %f %f %f %f %f %f %.4x %.4x\n", x->data.F32[i], y->data.F32[i], xList, yList, 257 listSource->psfMag, listSource->errMag, source->psfMag, source->errMag, 258 listSource->mode, source->mode); 256 259 #endif 257 260 magDiff->data.F32[numIn] = listSource->psfMag - source->psfMag;
Note:
See TracChangeset
for help on using the changeset viewer.
