Changeset 6862 for trunk/psphot/src/psphotBasicDeblend.c
- Timestamp:
- Apr 14, 2006, 11:58:44 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotBasicDeblend.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotBasicDeblend.c
r6715 r6862 2 2 3 3 // 2006.02.07 : no leaks 4 bool psphotBasicDeblend (psArray *sources, psMetadata * config) {4 bool psphotBasicDeblend (psArray *sources, psMetadata *recipe) { 5 5 6 6 int N; … … 13 13 psTimerStart ("psphot"); 14 14 15 float FRACTION = psMetadataLookupF32 (&status, config, "DEBLEND_PEAK_FRACTION");15 float FRACTION = psMetadataLookupF32 (&status, recipe, "DEBLEND_PEAK_FRACTION"); 16 16 if (!status) FRACTION = 0.25; 17 17 18 float NSIGMA = psMetadataLookupF32 (&status, config, "DEBLEND_SKY_NSIGMA");18 float NSIGMA = psMetadataLookupF32 (&status, recipe, "DEBLEND_SKY_NSIGMA"); 19 19 if (!status) NSIGMA = 5.0; 20 20 … … 129 129 psLogMsg ("psphot.deblend", 3, "identified %d blended objects (%f sec)\n", Nblend, psTimerMark ("psphot")); 130 130 131 char *breakPt = psMetadataLookupStr (&status, config, "BREAK_POINT");131 char *breakPt = psMetadataLookupStr (&status, recipe, "BREAK_POINT"); 132 132 if (!strcasecmp (breakPt, "DEBLEND")) exit (0); 133 133
Note:
See TracChangeset
for help on using the changeset viewer.
