IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34309


Ignore:
Timestamp:
Aug 14, 2012, 1:27:30 PM (14 years ago)
Author:
bills
Message:

try and work around ppImage problem by raising quality error of fwhm > 25 pixels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20120802/psphot/src/psphotChoosePSF.c

    r34136 r34309  
    505505
    506506        psLogMsg ("psphot", PS_LOG_DETAIL, "fwhm (psf): %f,%f (moments): %f,%f", fwhmMaj, fwhmMin, fwhmMajorMoments, fwhmMinorMoments);
     507        if (fwhmMaj > 25) {
     508            // XXX: get this parameter from the recipe
     509            // FWHM is too large. Using this often leads to detection of huge numbers of sources
     510            psLogMsg ("psphot", PS_LOG_WARN, "fwhm too large giving up\n");
     511            goto escape;
     512        }
     513
    507514    }
    508515
Note: See TracChangeset for help on using the changeset viewer.