Skip to content
Snippets Groups Projects
Commit d2f1a719 authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Fixed bug in initialization of alpha axis

parent c73d885c
No related branches found
No related tags found
No related merge requests found
...@@ -139,9 +139,11 @@ void GISASExperiment::setDetectorParameters(size_t n_phi, double phi_f_min, doub ...@@ -139,9 +139,11 @@ void GISASExperiment::setDetectorParameters(size_t n_phi, double phi_f_min, doub
alpha_params.m_range = TSampledRange<double>(n_alpha, alpha_f_min, alpha_f_max); alpha_params.m_range = TSampledRange<double>(n_alpha, alpha_f_min, alpha_f_max);
if (isgisaxs_style) { if (isgisaxs_style) {
phi_params.m_sample_method = AxisParameters::E_ISGISAXS; phi_params.m_sample_method = AxisParameters::E_ISGISAXS;
alpha_params.m_sample_method = AxisParameters::E_ISGISAXS;
} }
else { else {
phi_params.m_sample_method = AxisParameters::E_DEFAULT; phi_params.m_sample_method = AxisParameters::E_DEFAULT;
alpha_params.m_sample_method = AxisParameters::E_DEFAULT;
} }
DetectorParameters detector_params = { phi_params, alpha_params }; DetectorParameters detector_params = { phi_params, alpha_params };
setDetectorParameters(detector_params); setDetectorParameters(detector_params);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment