Commit d305a323 authored by Cristina Cocho's avatar Cristina Cocho

Update property 'optimization1d_x_result' when doing scan with repeater

parent 7c00b8b1
......@@ -480,6 +480,8 @@ std::vector<float64> GenericScan1D::getOptimizationResultsWithRepeater(int32 cou
updateValue(OPTIMIZATION_FIT_PLOT_PROPERTY, true);
updateValue(OPTIMIZATION_FIT_PLOT_Y_PROPERTY, fit_plot_y, (int32) fit.size());
sendArrayEvent(OPTIMIZATION_FIT_PLOT_Y_PROPERTY);
updateValue(OPTIMIZATION1D_X_RESULT_PROPERTY, repeaterOptimizationScan1D->getOptimumPoint(0)[0]);
}
if (optimizationType == OptimizationFunction1D::MULTI_GAUSSIAN_PEAK || optimizationType == OptimizationFunction1D::GAUSSIAN_PEAK) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment