IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9565


Ignore:
Timestamp:
Oct 13, 2006, 3:00:01 PM (20 years ago)
Author:
eugene
Message:

made test output images part of trace level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotReadout.c

    r9519 r9565  
    2424    psphotModelTest (readout, recipe);
    2525
    26     // psphotSaveImage (NULL, readout->image,  "image.fits");
    27     // psphotSaveImage (NULL, readout->mask,   "mask.fits");
    28     // psphotSaveImage (NULL, readout->weight, "weight.fits");
     26    if (psTraceGetLevel("psphot.images") > 5) {
     27        psphotSaveImage (NULL, readout->image,  "image.fits");
     28        psphotSaveImage (NULL, readout->mask,   "mask.fits");
     29        psphotSaveImage (NULL, readout->weight, "weight.fits");
     30    }
    2931
    3032    // generate a background model (median, smoothed image)
     
    7173    psphotEnsemblePSF (readout, sources, recipe, psf, FALSE);
    7274    if (!strcasecmp (breakPt, "ENSEMBLE")) {
     75        psphotMagnitudes (sources, recipe, psf);
    7376        if (!psphotReadoutCleanup (config, readout, recipe, psf, sources)) return false;
    7477        return true;
Note: See TracChangeset for help on using the changeset viewer.