IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29340


Ignore:
Timestamp:
Oct 6, 2010, 11:48:44 AM (16 years ago)
Author:
eugene
Message:

do not fail on a single bad fit (just skip it)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20100823/psphot/src/psphotExtendedSourceFits.c

    r29027 r29340  
    271271        if (!psphotSetRadiusFootprint(&radius, readout, source, markVal, 1.0)) {
    272272            fprintf (stderr, "skipping (1) %f, %f\n", source->peak->xf, source->peak->yf);
    273             psFree (fitOptions)
    274             return false;
     273            pmSourceSub (source, PM_MODEL_OP_FULL, maskVal);
     274            continue;
    275275        }
    276276
     
    295295            if (!modelFluxStart) {
    296296                fprintf (stderr, "skipping (3) %f, %f\n", source->peak->xf, source->peak->yf);
     297                pmSourceSub (source, PM_MODEL_OP_FULL, maskVal);
    297298                // XXX raise an error of some kind?
    298299                continue;
Note: See TracChangeset for help on using the changeset viewer.