From fb671a09f3e5fb4e1bcc73cdc34aa2fc1b32b5d9 Mon Sep 17 00:00:00 2001 From: aglowacki Date: Fri, 3 May 2024 11:44:30 -0500 Subject: [PATCH] revert per pixel fitting to lmfit since it performs better. Set step stize to .1 for per pixel --- src/mvc/PerPixelOptionsWidget.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mvc/PerPixelOptionsWidget.h b/src/mvc/PerPixelOptionsWidget.h index c913407..0601588 100644 --- a/src/mvc/PerPixelOptionsWidget.h +++ b/src/mvc/PerPixelOptionsWidget.h @@ -76,7 +76,8 @@ class PerPixelOptionsWidget : public QWidget if (_proc_matrix->isChecked()) { analysis_job.fitting_routines.push_back(data_struct::Fitting_Routines::GAUSS_MATRIX); - analysis_job.set_optimizer("mpfit"); + + analysis_job.optimizer()->set_options({ { STR_OPT_STEP, (T_real)0.1 } }); } if (_save_avg->isChecked())