Page 1 of 1

Spinladder error

Posted: Wed Apr 04, 2018 4:31 am
by YuryKutin
Dear Developers,
I'm getting the following error when I try to run the spinladder function:
Reference to non-existent field 'ee'.
error in spinladder (line 90)
This error occurs when the isotropic exchange interaction is given in the form Sys.J. If, instead, the Sys.ee form is used, the function runs without errors.
The error occurs also for the example given on the spinladder page:

Code: Select all

Sys.S = [5/2 5/2];
Sys.g = [2 2];
Sys.A = [250 0; 0 250];
Sys.Nucs = '55Mn,55Mn';
Sys.D = [1 1]*-2.3*30e3;
Sys.J = -30*30e3;
spinladder(Sys,293)
If "Sys.J = -30*30e3" is substituted by "Sys.ee = -30*30e3", the script works.

Easyspin: 5.2.11, 5.2.14;
Matlab: R2011b, R2013b.

Thank you very much for your time!
Yury

Re: Spinladder error

Posted: Thu Apr 05, 2018 5:24 pm
by Stefan Stoll
This is indeed a bug. We'll put it on our list of things to fix. Thanks for reporting!

Re: Spinladder error

Posted: Mon Jun 18, 2018 9:20 pm
by Stefan Stoll
This is fixed in 5.2.17