Sys=struct('g',[2.0 2.1 2.2],'S',1/2);
Exp=struct('mwFreq',30,'Range',[0 2000],'CrystalOrientation',[0 0 0]);
rotaxis=[1 1 1];
rotation=45; % deg
Exp.SampleRotation = {rotation/180*pi,rotaxis}; % no effect in dev48 but all fine in dev37
[B_res,~] = resfields(Sys,Exp)
Search found 3 matches
- Sat Nov 05, 2022 3:56 am
- Forum: Bugs
- Topic: Exp.SampleRotation issue in recent dev version?
- Replies: 5
- Views: 31542
Re: Exp.SampleRotation issue in recent dev version?
- Mon Oct 31, 2022 11:37 am
- Forum: Bugs
- Topic: Exp.SampleRotation issue in recent dev version?
- Replies: 5
- Views: 31542
Re: Exp.SampleRotation issue in recent dev version?
Now, looking for the simplest minimal example, it appears that Exp.SampleRotation actually does not even have an effect any longer in the current version dev48. Sorry, I could have noticed this earlier. Again, version dev37 was still fine. I tested using either anisotropic g-factor, or via Sys.D, or...
- Wed Oct 19, 2022 6:31 am
- Forum: Bugs
- Topic: Exp.SampleRotation issue in recent dev version?
- Replies: 5
- Views: 31542
Exp.SampleRotation issue in recent dev version?
Hej! I have been using the Exp.SampleRotation method of the development version 6 of easyspin. Some changes between versions dev.37 and dev.48 seem to have broken this method. (Is there a change log publicly available for the dev versions?) Is it save to replace SampleRotation by using the rotatefra...