IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36128


Ignore:
Timestamp:
Sep 17, 2013, 1:48:01 PM (13 years ago)
Author:
eugene
Message:

do not raise an error if we cannot match psf; set current fwhm to unsmoothed value

File:
1 edited

Legend:

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

    r36118 r36128  
    4343    for (int i = 0; i < num; i++) {
    4444        if (!psphotStackMatchPSFsNextReadout (config, view, filerule, i, lastSize)) {
    45             psError (PSPHOT_ERR_CONFIG, false, "failed to smooth image %s (%d) to target PSF", filerule, i);
     45            psLogMsg ("psphot", PS_LOG_INFO, "failed to smooth image %s (%d) to target PSF", filerule, i);
    4646            psImageConvolveSetThreads(oldThreads);
    4747            return false;
     
    104104        // psError (PSPHOT_ERR_CONFIG, true, "target FWHM cannot be smaller than current FWHM");
    105105        psLogMsg ("psphot", PS_LOG_INFO, "target FWHM (%f) is smaller than current FWHM (%f), not smoothing\n", targetFWHM, currentFWHM);
     106        fwhmValues->data.F32[lastSize + 1] = currentFWHM;
    106107        return false;
    107108    }
Note: See TracChangeset for help on using the changeset viewer.