From fa943a55ecb7e2cd1b70986279d3fe806690605e Mon Sep 17 00:00:00 2001 From: Arthur Glowacki Date: Wed, 14 Aug 2024 07:24:30 -0500 Subject: [PATCH] Chagned snip_width from fit to limited_lo_hi for option 3 --- src/fitting/models/gaussian_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fitting/models/gaussian_model.cpp b/src/fitting/models/gaussian_model.cpp index f1b59449..9cb5f582 100644 --- a/src/fitting/models/gaussian_model.cpp +++ b/src/fitting/models/gaussian_model.cpp @@ -242,7 +242,7 @@ void Gaussian_Model::set_fit_params_preset(Fit_Params_Preset preset) _fit_parameters[STR_COMPTON_HI_F_TAIL].bound_type = E_Bound_Type::LIMITED_LO_HI; _fit_parameters[STR_COMPTON_HI_GAMMA].bound_type = E_Bound_Type::LIMITED_LO_HI; - _fit_parameters[STR_SNIP_WIDTH].bound_type = E_Bound_Type::FIT; + _fit_parameters[STR_SNIP_WIDTH].bound_type = E_Bound_Type::LIMITED_LO_HI; _fit_parameters[STR_F_STEP_OFFSET].bound_type = E_Bound_Type::FIXED; _fit_parameters[STR_F_STEP_LINEAR].bound_type = E_Bound_Type::FIXED;