Page 1 of 1

SALT problem in ver. 5.2.21

Posted: Tue Dec 04, 2018 2:58 am
by RuslanZaripov
Dear Stefan,

I installed the last stable version of easyspin 5.2.21 (since my working version 5.2.9 ends soon) and I have a problem. When simulating the ENDOR of single crystal spectra (even endorsimple.m), the salt function always gives out the powder spectrum, regardless of the value of Exp.CrystalOrientation. When installing the previous version 5.2.9 everything works fine, although the development version 6.0-alpha2 has the same problem as 5.2.21. What could be the reason?

Re: SALT problem in ver. 5.2.21

Posted: Thu Dec 06, 2018 12:03 pm
by Stefan Stoll
Please post a short self-contained script that reproduces the problem.

Re: SALT problem in ver. 5.2.21

Posted: Sun Dec 09, 2018 11:04 pm
by RuslanZaripov
Dear Stefan,
The script is:

% 1H ENDOR of a powder
%=====================================================================
clear, clf

% Spin system
Sys.g = 2;
Sys.Nucs = '1H';
Sys.A_ = [1 3];
Sys.lwEndor = 0.3;

% Experimental parameters
Exp.Field = 350.1;
Exp.CrystalOrientation = [0; 0; 0]*pi/180;
% frequency range is determined automatically

% Simulation
salt(Sys,Exp);


Into the standart endorsimple.m body I just insert Exp.CrystalOrientation and nothing changes.

Re: SALT problem in ver. 5.2.21

Posted: Mon Dec 10, 2018 11:06 am
by Stefan Stoll
This is a bug - thanks for reporting! It is now fixed in version 5.2.22, which you can download from the website.

Re: SALT problem in ver. 5.2.21

Posted: Tue Dec 11, 2018 12:57 am
by RuslanZaripov
Thank you very much.

The salt function works correctly in ver. 5.2.22.

Regards,
Ruslan