IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29139


Ignore:
Timestamp:
Sep 10, 2010, 8:07:25 AM (16 years ago)
Author:
eugene
Message:

do not return false on failed source moments; skip the source and move on

File:
1 edited

Legend:

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

    r29027 r29139  
    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 flag of some kind
     275            continue;
    275276        }
    276277
     
    284285            // subtract the best fit from the object, leave local sky
    285286            pmSourceSub (source, PM_MODEL_OP_FULL, maskVal);
    286             // XXX raise an error of some kind
     287            // XXX raise an error flag of some kind
    287288            continue;
    288289        }
     
    295296            if (!modelFluxStart) {
    296297                fprintf (stderr, "skipping (3) %f, %f\n", source->peak->xf, source->peak->yf);
    297                 // XXX raise an error of some kind?
     298                // XXX raise an error flag of some kind?
    298299                continue;
    299300            }
Note: See TracChangeset for help on using the changeset viewer.