Difference between revisions of "Zfs2mat.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Correct function page syntax from current Spinach source)
Line 4: Line 4:
 
==Syntax==
 
==Syntax==
  
     M=zfs2mat(D,E)
+
 
 +
     M=zfs2mat(D,E,alp,bet,gam)
  
 
==Arguments==
 
==Arguments==

Revision as of 15:15, 5 June 2026

Converts D and E zero-field splitting parameters described in the abstract of http://dx.doi.org/10.1063/1.1682294 into a diagonal spin interaction matrix.

Syntax

    M=zfs2mat(D,E,alp,bet,gam)

Arguments

    D,E   - real scalar parameters

Outputs

    M   - diagonal 3x3 matrix

See also

axrh2mat.m, castep2nqi.m, anas2mat.m

Version 2.1, authors: Ilya Kuprov