IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14833


Ignore:
Timestamp:
Sep 13, 2007, 3:08:17 PM (19 years ago)
Author:
Paul Price
Message:

Don't generate source plots if we were given the PSF --- since there's nothing to plot!

File:
1 edited

Legend:

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

    r14758 r14833  
    8484    // several functions below behave differently if we have a PSF model already
    8585    bool havePSF = (psf != NULL);
    86    
    87     // find the peaks in the image. 
     86
     87    // find the peaks in the image.
    8888
    8989    // XXX clean this up into a single function.  if psf is defined, we should treat this as
     
    256256
    257257    // plot positive sources
    258     psphotSourcePlots (readout, sources, recipe, maskVal);
     258    if (!havePSF) {
     259        psphotSourcePlots (readout, sources, recipe, maskVal);
     260    }
    259261
    260262    // measure aperture photometry corrections
Note: See TracChangeset for help on using the changeset viewer.