IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29341


Ignore:
Timestamp:
Oct 6, 2010, 11:49:09 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
  • branches/eam_branches/ipp-20100823/psphot/src/psphotExtendedSourceFits.c

    r29124 r29341  
    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            // XXX raise an error of some kind
     275            continue;
    275276        }
    276277
     
    295296            if (!modelFluxStart) {
    296297                fprintf (stderr, "skipping (3) %f, %f\n", source->peak->xf, source->peak->yf);
     298                pmSourceSub (source, PM_MODEL_OP_FULL, maskVal);
    297299                // XXX raise an error of some kind?
    298300                continue;
Note: See TracChangeset for help on using the changeset viewer.