On Matlab R2024a I get the following error when running horace_demo_script:
*** Completed cat_pixels using 1 pages in 0.0095046 sec.
*** Step 1 of 1; Read data for 246124 pixels -- processing data... -----> retained 97798 pixels
*** Completed cat_pixels using 1 pages in 0.0043894 sec.
*** Step 1 of 1; Read data for 324097 pixels -- processing data... -----> retained 202794 pixels
*** Completed cat_pixels using 1 pages in 0.010904 sec.
Index exceeds the number of array elements. Index must not exceed 1.
Error in spaghetti_plot (line 398)
out{2} = varargout{2};
Error in horace_demo_script (line 89)
wsp=spaghetti_plot(hklline+repmat([2 2 0],size(hklline,1),1),sqw_file,'labels',bzpts, ...
Further down in the script, an example fit is made. However, it calls a function 'fit_sqw' which doesn't appear to exist
On Matlab R2024a I get the following error when running horace_demo_script:
Further down in the script, an example fit is made. However, it calls a function '
fit_sqw
' which doesn't appear to exist