IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37405


Ignore:
Timestamp:
Sep 19, 2014, 4:34:16 PM (12 years ago)
Author:
eugene
Message:

add an options test output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtraction.c

    r36650 r37405  
    995995
    996996    }
     997
     998    if (0) {
     999      FILE *f = fopen ("vector.dat", "w");
     1000      psAssert (f, "should not fail to open test file");
     1001     
     1002      for (int qq = 0; qq < match->chisq->n; qq++) {
     1003        fprintf (f, "%f %f : %f %f : %d\n",
     1004                 match->chisq->data.F32[qq], match->fluxes->data.F32[qq],
     1005                 logchisq->data.F32[qq], logflux->data.F32[qq],
     1006                 match->stampMask->data.PS_TYPE_VECTOR_MASK_DATA[qq]);
     1007      }
     1008      fclose (f);
     1009    }
     1010
     1011
    9971012    bool result = psVectorClipFitPolynomial1D(model, stats, match->stampMask, 0xff, logchisq, NULL, logflux);
    9981013    if (!result) {
Note: See TracChangeset for help on using the changeset viewer.