- Timestamp:
- Dec 4, 2013, 2:28:32 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceFits.c
r36342 r36347 597 597 } 598 598 599 // we are allowed to fit both stars and non-stars here -- if we have fitted 600 // something which we think is a star, we should use that model to subtract the 601 // object from the image. 602 if (source->type == PM_SOURCE_TYPE_STAR) { 603 // ensure the modelPSF is cached 604 pmSourceCacheModel (source, maskVal); 605 pmSourceSub (source, PM_MODEL_OP_FULL, maskVal); 606 continue; 607 } 608 599 609 // evaluate the relative quality of the models, choose one 610 // the PSF model might be the best fit : allow it to succeed 600 611 float minChisq = NAN; 601 612 int minModel = -1;
Note:
See TracChangeset
for help on using the changeset viewer.
