Changeset 31154 for trunk/psphot/src/psphotBlendFit.c
- Timestamp:
- Apr 4, 2011, 1:12:39 PM (15 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (2 props)
-
src/psphotBlendFit.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:ignore
-
old new 19 19 psphot-config 20 20 Doxyfile 21 a.out.dSYM
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
trunk/psphot/src/psphotBlendFit.c
r30624 r31154 94 94 fitOptions->weight = PS_SQR(skySig); 95 95 fitOptions->mode = PM_SOURCE_FIT_PSF; 96 fitOptions->covarFactor = psImageCovarianceFactorForAperture(readout->covariance, 10.0); // Covariance matrix 96 97 97 98 psphotInitLimitsPSF (recipe, readout); … … 103 104 104 105 // source analysis is done in S/N order (brightest first) 105 sources = psArraySort (sources, pmSourceSortBy SN);106 sources = psArraySort (sources, pmSourceSortByFlux); 106 107 if (!sources->n) { 107 108 psLogMsg ("psphot", PS_LOG_INFO, "no sources, skipping blend"); … … 176 177 } 177 178 psFree(job); 178 }179 } 179 180 } 180 181 psFree (cellGroups); … … 242 243 243 244 // limit selection to some SN limit 244 if (s ource->peak->SN< FIT_SN_LIM) continue;245 if (sqrt(source->peak->detValue) < FIT_SN_LIM) continue; 245 246 246 247 // exclude sources outside optional analysis region
Note:
See TracChangeset
for help on using the changeset viewer.
