Changeset 25646
- Timestamp:
- Sep 28, 2009, 5:54:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psphot/src/psphotRadiusChecks.c
r25617 r25646 98 98 static float EXT_FIT_NSIGMA; 99 99 static float EXT_FIT_PADDING; 100 static float EXT_FIT_MAX_RADIUS; 100 101 101 102 bool psphotInitRadiusEXT (psMetadata *recipe, pmModelType type) { … … 103 104 bool status; 104 105 105 EXT_FIT_NSIGMA = psMetadataLookupF32 (&status, recipe, "EXT_FIT_NSIGMA"); 106 EXT_FIT_PADDING = psMetadataLookupF32 (&status, recipe, "EXT_FIT_PADDING"); 106 EXT_FIT_NSIGMA = psMetadataLookupF32 (&status, recipe, "EXT_FIT_NSIGMA"); 107 EXT_FIT_PADDING = psMetadataLookupF32 (&status, recipe, "EXT_FIT_PADDING"); 108 EXT_FIT_MAX_RADIUS = psMetadataLookupF32 (&status, recipe, "EXT_FIT_MAX_RADIUS"); 107 109 108 110 return true; … … 138 140 radius += EXT_FIT_PADDING; 139 141 if (isnan(radius)) psAbort("error in radius"); 142 143 radius = PS_MIN (radius, EXT_FIT_MAX_RADIUS); 140 144 141 145 // redefine the pixels if needed
Note:
See TracChangeset
for help on using the changeset viewer.
