Changeset 36347
- Timestamp:
- Dec 4, 2013, 2:28:32 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130904/psphot/src
- Files:
-
- 2 edited
-
psphotExtendedSourceFits.c (modified) (1 diff)
-
psphotSourceSize.c (modified) (2 diffs)
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; -
branches/eam_branches/ipp-20130904/psphot/src/psphotSourceSize.c
r36340 r36347 605 605 psTrace("psphotSourceClassRegion.EXT",4,"CLASS: %g %g\t%g %g\t%g %g\t%g %g\t%g EXT\n", 606 606 source->peak->xf, source->peak->yf, Mminor, kMag, dMag, nSigmaMAG, options->sizeLimitCR, options->magLimitCR, options->nSigmaApResid); 607 source->type = PM_SOURCE_TYPE_EXTENDED; 607 608 source->mode |= PM_SOURCE_MODE_EXT_LIMIT; 608 609 source->tmpFlags |= PM_SOURCE_TMPF_SIZE_MEASURED; … … 624 625 source->peak->xf, source->peak->yf, Mminor, kMag, dMag, nSigmaMAG, options->sizeLimitCR, options->magLimitCR, options->nSigmaApResid, 625 626 momentRatioVeres,options->altDiffExtThresh); 627 source->type = PM_SOURCE_TYPE_EXTENDED; 626 628 source->mode |= PM_SOURCE_MODE_EXT_LIMIT; 627 629 source->tmpFlags |= PM_SOURCE_TMPF_SIZE_MEASURED;
Note:
See TracChangeset
for help on using the changeset viewer.
