Search found 1028 matches

by Stefan Stoll
Tue Mar 26, 2024 10:22 pm
Forum: Bugs
Topic: mwPhase not converting
Replies: 1
Views: 12895

Re: mwPhase not converting

This is a bug. It occurs when the spectrum consists of a single line, like in your 12C case, and no Lorentzian broadening is given.

As a workaround, add a bit of Lorentzian broadening.

by Stefan Stoll
Tue Mar 26, 2024 10:10 pm
Forum: General forum
Topic: Difference between V6.0.0 and V5.2.35
Replies: 3
Views: 2030

Re: Difference between V6.0.0 and V5.2.35

To get parallel mode in version 6, use Exp.mwMode instead of Exp.Mode.

by Stefan Stoll
Tue Mar 26, 2024 9:54 pm
Forum: General forum
Topic: Intensity from resfreqs output vs explicit calculation
Replies: 3
Views: 267

Re: Intensity from resfreqs output vs explicit calculation

If no temperature is given, EasySpin uses a scaling factor of 1/(2*prod(I+1), where I the vector of all nuclear spins in the system. For a single 31P nucleus, this gives the additional factor of 1/2.

by Stefan Stoll
Tue Mar 26, 2024 9:46 pm
Forum: General forum
Topic: Spatial dependence of dipolar interaction?
Replies: 2
Views: 240

Re: Spatial dependence of dipolar interaction?

Here is a quick example for 4 spins on the vertices of a square: clear, clc Sys.S = [1/2 1/2 1/2 1/2]; a = 0.8; % edge length of square, in nm r = a*[1 0 0; 0 1 0; -1 0 0; 0 -1 0].'/2; % vertices of square in xy plane % Calculate all dipolar coupling tensors and add to spin system Sys.ee = []; g = 2...
by Stefan Stoll
Fri Feb 09, 2024 10:20 am
Forum: General forum
Topic: gStrain orientation
Replies: 1
Views: 14585

Re: gStrain orientation

gFrame is taken into account for gStrain, i.e. the g and the gStrain matrix are always collinear.

by Stefan Stoll
Fri Feb 09, 2024 10:18 am
Forum: General forum
Topic: Issue with parameterized HFC fitting
Replies: 1
Views: 13114

Re: Issue with parameterized HFC fitting

It looks like you are using EasySpin 5.2.x. Try using 6.0.0-dev.x, where such models are a lot easier to implement.

by Stefan Stoll
Fri Feb 09, 2024 10:17 am
Forum: General forum
Topic: Third-order g tensor
Replies: 3
Views: 13393

Re: Third-order g tensor

EasySpin has these terms implemented, but they are not particularly well documented. Use Sys.Ham310 , Sys.Ham312 , Sys.Ham314 to specify the parameters for a spin Hamiltonian term cubic in magnetic field (3) and linear in spin (1). The final digit 0, 2, 4 refers to the rank of the tensor. For B 3S t...
by Stefan Stoll
Fri Feb 09, 2024 10:04 am
Forum: General forum
Topic: Asymmetric g and A in EasySpin?
Replies: 1
Views: 848

Re: Asymmetric g and A in EasySpin?

Asymmetric g and A matrices are kept and used as defined in the spin system structure, they are not symmetrized by EasySpin.

by Stefan Stoll
Sun Sep 03, 2023 12:28 am
Forum: General forum
Topic: Running Easyspin with a user-defined Hamiltonian
Replies: 2
Views: 9402

Re: Running Easyspin with a user-defined Hamiltonian

It is currently not possible to do this.

What specific form does the Hamiltonian have that you would like to add? Is it formulated in terms of spin operators?

Maybe this can be added to EasySpin.