Page 1 of 1

Issue with overtone exemple

Posted: Tue Nov 26, 2024 9:39 pm
by Alafr
I'm still new to using Spinach, and I have been following tutorials. My end goal is to use it for overtone NMR. When I try to run the overtone examples I keep getting errors:
Error using slowpass (line 140)
Matrix dimensions must agree.

Error in overtone_a (line 44)
spectrum=slowpass(spin_system,parameters,H,R,K);

Error in overtone_pa (line 82)
spectrum=overtone_a(spin_system,parameters,H,R,K);

Error in singlerot (line 218)
parfor (q=1:numel(weights),nworkers) %#ok<*PFBNS>

Error in mas_glycine_1 (line 69)
spectrum=singlerot(spin_system,@overtone_pa,parameters,'qnmr');


I have not made any modifications to the code.

Re: Issue with overtone exemple

Posted: Wed Nov 27, 2024 6:02 am
by kuprov
Mmmmm, that definitely should not happen. I'll take a look when I get to the office.

Re: Issue with overtone exemple

Posted: Wed Nov 27, 2024 9:14 am
by kuprov
Not confirmed - stuff runs here. Which version of Matlab and Spinach is that, on which operating system?

Re: Issue with overtone exemple

Posted: Wed Nov 27, 2024 3:25 pm
by Alafr
I am using MATLAB R2024b and have the spinach-2.9.2 folder. I'm running it on Windows 10. I have set the path to kernel, etc., experiment, and interface. I also have all the toolboxes needed.
I have also tried other examples, some run, and some do not.

Re: Issue with overtone exemple

Posted: Wed Nov 27, 2024 3:44 pm
by kuprov
Not confirmed; I am running 2.9.2 in that config without problems.

Are you running Matlab's beta "new user interface" by any chance? That one is full of bugs, including path bugs.

Re: Issue with overtone exemple

Posted: Wed Nov 27, 2024 5:20 pm
by Alafr
No, I am not running the new user interface.

Re: Issue with overtone exemple

Posted: Wed Nov 27, 2024 7:08 pm
by kuprov
I am out of ideas; short of just running a zoom session and taking a look, there isn't much to try.

Re: Issue with overtone exemple

Posted: Mon Dec 02, 2024 8:39 pm
by Alafr
Would running a Zoom be okay?

Re: Issue with overtone exemple

Posted: Wed Dec 04, 2024 2:11 pm
by kuprov
Sure, email me a Zoom invite for any reasonable time on Saturday or Sunday. - IK

Re: Issue with overtone exemple

Posted: Sat Dec 07, 2024 3:57 pm
by kuprov
Resolved. Spinach was installed in a OneDrive folder and OneDrive's attempts at synchronising files were interfering with Spinach scratch folder operations. Once Spinach was moved to a different location on the disk, everything started working.