IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 17, 2013, 11:42:14 AM (13 years ago)
Author:
eugene
Message:

dump psf star info if we fail to get a fit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPSFtryModel.c

    r34403 r36123  
    236236    // linear clipped fit of chisq trend vs flux
    237237    if (options->chiFluxTrend) {
     238
     239        if (0) {
     240            FILE *f = fopen ("test.psf.dat", "w");
     241            int fd = fileno (f);
     242            p_psVectorPrint (fd, flux, "flux");
     243            p_psVectorPrint (fd, chisq, "chisq");
     244            p_psVectorPrint (fd, mask, "mask");
     245            fclose (f);
     246        }
     247
    238248        bool result = psVectorClipFitPolynomial1D(psfTry->psf->ChiTrend, options->stats,
    239249                                                  mask, 0xff, chisq, NULL, flux);
Note: See TracChangeset for help on using the changeset viewer.