IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29534


Ignore:
Timestamp:
Oct 24, 2010, 12:25:53 PM (16 years ago)
Author:
eugene
Message:

turn off test output

Location:
branches/eam_branches/ipp-20100823/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/psphot/src/psphotApResid.c

    r29491 r29534  
    4848    pmReadout *readout = pmFPAviewThisReadout(view, file->fpa);
    4949    psAssert (readout, "missing readout?");
    50 
    51     // XXX TEST output
    52     {
    53         char outname[64];
    54         static int nimage = 0;
    55 
    56         sprintf (outname, "testimage.%02d.fits", nimage);
    57         psphotSaveImage(NULL, readout->image, outname);
    58         nimage ++;
    59     }
    6050
    6151    pmDetections *detections = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.DETECTIONS");
  • branches/eam_branches/ipp-20100823/psphot/src/psphotSourceSize.c

    r29533 r29534  
    3131float psphotSourceSizeFindThreshold (psVector *value, psVector *mask, int maskValue, float minValue, float maxValue, float delta, float guess, float fraction);
    3232
     33// save test output images?
     34# define DUMPPICS 0
     35
    3336// we need to call this function after sources have been fitted to the PSF model and
    3437// subtracted.  To determine the CR-nature, this function examines the 9 pixels in the 3x3
     
    659662
    660663    // XXX test : save the mask image
    661     if (1) {
    662         psphotSaveImage (NULL, readout->mask,   "crmask.fits");
    663     }
     664# if (DUMPPICS)
     665    psphotSaveImage (NULL, readout->mask,   "crmask.fits");
     666# endif
    664667
    665668    return true;
    666669}
    667670
    668 # define DUMPPICS 0
    669671# define LIMIT_XRANGE(X, IMAGE) { X = PS_MIN(PS_MAX(0, X), IMAGE->numCols); }
    670672# define LIMIT_YRANGE(Y, IMAGE) { Y = PS_MIN(PS_MAX(0, Y), IMAGE->numRows); }
Note: See TracChangeset for help on using the changeset viewer.