Changeset 6862 for trunk/psphot/src/psphotBlendFit.c
- Timestamp:
- Apr 14, 2006, 11:58:44 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotBlendFit.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotBlendFit.c
r6851 r6862 2 2 3 3 // XXX I don't like this name 4 bool psphotBlendFit (pmReadout *readout, psArray *sources, psMetadata * config, pmPSF *psf) {4 bool psphotBlendFit (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf) { 5 5 6 6 int Nfit = 0; … … 13 13 14 14 // S/N limit to perform full non-linear fits 15 float FIT_SN_LIM = psMetadataLookupF32 (&status, config, "FULL_FIT_SN_LIM");15 float FIT_SN_LIM = psMetadataLookupF32 (&status, recipe, "FULL_FIT_SN_LIM"); 16 16 17 psphotInitLimitsPSF ( config);18 psphotInitLimitsEXT ( config);19 psphotInitRadiusPSF ( config, psf->type);17 psphotInitLimitsPSF (recipe); 18 psphotInitLimitsEXT (recipe); 19 psphotInitRadiusPSF (recipe, psf->type); 20 20 21 21 // option to limit analysis to a specific region 22 char *region = psMetadataLookupStr (&status, config, "ANALYSIS_REGION");22 char *region = psMetadataLookupStr (&status, recipe, "ANALYSIS_REGION"); 23 23 psRegion AnalysisRegion = psRegionForImage (readout->image, psRegionFromString (region)); 24 24 if (psRegionIsNaN (AnalysisRegion)) psAbort ("psphot", "analysis region mis-defined");
Note:
See TracChangeset
for help on using the changeset viewer.
