SALT problem in ver. 5.2.21

A place to report and discuss potential bugs
Post Reply
RuslanZaripov
Newbie
Posts: 3
Joined: Fri Nov 10, 2017 2:15 am

SALT problem in ver. 5.2.21

Post 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?
Stefan Stoll
EasySpin Creator
Posts: 1050
Joined: Mon Jul 21, 2014 10:11 pm
Location: University of Washington

Re: SALT problem in ver. 5.2.21

Post by Stefan Stoll »

Please post a short self-contained script that reproduces the problem.
RuslanZaripov
Newbie
Posts: 3
Joined: Fri Nov 10, 2017 2:15 am

Re: SALT problem in ver. 5.2.21

Post 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.
Stefan Stoll
EasySpin Creator
Posts: 1050
Joined: Mon Jul 21, 2014 10:11 pm
Location: University of Washington

Re: SALT problem in ver. 5.2.21

Post 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.
RuslanZaripov
Newbie
Posts: 3
Joined: Fri Nov 10, 2017 2:15 am

Re: SALT problem in ver. 5.2.21

Post by RuslanZaripov »

Thank you very much.

The salt function works correctly in ver. 5.2.22.

Regards,
Ruslan
Post Reply