IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 8, 2008, 11:47:47 AM (17 years ago)
Author:
Paul Price
Message:

More detail in debugging output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackSources.c

    r19227 r20940  
    228228    FILE *file = fopen(filename, "w"); // File to write
    229229    psFree(filename);
    230     fprintf(file, "# x y mag1 mag2\n");
     230    fprintf(file, "# x1 y1 x2 y2 mag1 mag1err mag2 mag2err flag1 flag2\n");
    231231#endif
    232232
     
    252252            isfinite(listMag) && isfinite(sourceMag)) {
    253253#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);
    256259#endif
    257260            magDiff->data.F32[numIn] = listSource->psfMag - source->psfMag;
Note: See TracChangeset for help on using the changeset viewer.