Issue with overtone exemple

Topics related to Spinach package
Post Reply
Alafr
Posts: 4
Joined: Tue Nov 26, 2024 9:34 pm

Issue with overtone exemple

Post 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.
kuprov
Posts: 201
Joined: Mon Mar 29, 2021 4:26 pm

Re: Issue with overtone exemple

Post by kuprov »

Mmmmm, that definitely should not happen. I'll take a look when I get to the office.
kuprov
Posts: 201
Joined: Mon Mar 29, 2021 4:26 pm

Re: Issue with overtone exemple

Post by kuprov »

Not confirmed - stuff runs here. Which version of Matlab and Spinach is that, on which operating system?
Alafr
Posts: 4
Joined: Tue Nov 26, 2024 9:34 pm

Re: Issue with overtone exemple

Post 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.
kuprov
Posts: 201
Joined: Mon Mar 29, 2021 4:26 pm

Re: Issue with overtone exemple

Post 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.
Alafr
Posts: 4
Joined: Tue Nov 26, 2024 9:34 pm

Re: Issue with overtone exemple

Post by Alafr »

No, I am not running the new user interface.
kuprov
Posts: 201
Joined: Mon Mar 29, 2021 4:26 pm

Re: Issue with overtone exemple

Post by kuprov »

I am out of ideas; short of just running a zoom session and taking a look, there isn't much to try.
Alafr
Posts: 4
Joined: Tue Nov 26, 2024 9:34 pm

Re: Issue with overtone exemple

Post by Alafr »

Would running a Zoom be okay?
kuprov
Posts: 201
Joined: Mon Mar 29, 2021 4:26 pm

Re: Issue with overtone exemple

Post by kuprov »

Sure, email me a Zoom invite for any reasonable time on Saturday or Sunday. - IK
kuprov
Posts: 201
Joined: Mon Mar 29, 2021 4:26 pm

Re: Issue with overtone exemple

Post 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.
Post Reply