Error in nucfrq2d (HYSCORE blindspots)
Hi,
I am trying to calculate blindspots region in HYSCORE using nucfrq2d but I believe there is a typo in the code.
I am using in EasySpin 6.0.0-dev.33 (2021-06-18) and Matlab R2020b and whenever I try to run:
Code: Select all
Sys = struct('S',1/2,'g',[2 2 2],'Nucs','1H','A',[-1 -1 2]*4+2);
B0 = 350; % in mT
Larmor = larmorfrq(Sys.Nucs,B0)/1e3; % in GHz
tauvec = [1 0.5]./Larmor; % in ns
nucfrq2d(Sys,B0,tauvec)
I get this:
Reference to non-existent field 'closePhi'.
Error in nucfrq2d
Error in untitled4 (line 5)
nucfrq2d(Sys,B0,tauvec)
So I went to GitHub, downloaded the code and changed the line:
Code: Select all
closedPhi = grid.closePhi;
to
Code: Select all
closedPhi = grid.closedPhi;
and it seems to work.
Best regards,
Daniel Martins