IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 10, 2009, 11:15:20 AM (17 years ago)
Author:
Paul Price
Message:

Nigel Metcalfe points out that we shouldn't use extended sources as stamps when convolving to a target PSF. To avoid this, I'm throwing out extended sources when I create the fake image. This requires an API change to pmReadoutFake(). I think I've caught all instances that use that.

File:
1 edited

Legend:

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

    r24622 r25313  
    124124        pmResiduals *resid = psf->residuals;// PSF residuals
    125125        psf->residuals = NULL;
    126         if (!pmReadoutFakeFromSources(fakeRO, fakeSize, fakeSize, fakes, xOffset, yOffset, psf,
     126        if (!pmReadoutFakeFromSources(fakeRO, fakeSize, fakeSize, fakes, 0, xOffset, yOffset, psf,
    127127                                      NAN, radius, true, true)) {
    128128            psError(PS_ERR_UNKNOWN, false, "Unable to generate fake readout.");
     
    298298        }
    299299
    300         // measure the source moments: tophat windowing, no pixel S/N cutoff
     300        // measure the source moments: tophat windowing, no pixel S/N cutoff
    301301        if (!pmSourceMoments(source, maxRadius, 0.0, 1.0)) {
    302302            // Can't do anything about it; limp along as best we can
Note: See TracChangeset for help on using the changeset viewer.