IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30200


Ignore:
Timestamp:
Jan 2, 2011, 9:38:27 AM (15 years ago)
Author:
eugene
Message:

adjust limit on modelSum for linear fit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/psphot/src/psphotFitSourcesLinear.c

    r30170 r30200  
    163163            }
    164164        }
    165         if (modelSum < 0.01) continue; // skip sources with no model constraint (somewhat arbitrary limit)
     165        if (modelSum < 0.5) continue; // skip sources with no model constraint (somewhat arbitrary limit)
     166        // if (modelSum < 0.01) continue; // skip sources with no model constraint (somewhat arbitrary limit)
     167        if (modelSum < 0.8) {
     168            fprintf (stderr, "low-sig model @ %f, %f (%f sum, %f peak)\n",
     169                     source->peak->xf, source->peak->yf, modelSum, source->peak->flux);
     170        }
    166171
    167172        pmModel *model = pmSourceGetModel (NULL, source);
Note: See TracChangeset for help on using the changeset viewer.