Difference between revisions of "Dcm2wigner.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Normalise preformatted blank lines in function documentation blocks)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     D=dcm2wigner(dcm)
 
     D=dcm2wigner(dcm)
  
−
==Arguments==
+
==Parameters==
  
 
     dcm    - directional cosine matrix
 
     dcm    - directional cosine matrix

Revision as of 18:48, 5 June 2026

Converts a directional cosine matrix into second-rank Wigner function matrix.

Syntax

    D=dcm2wigner(dcm)

Parameters

    dcm     - directional cosine matrix

Outputs

    D       - matrix of second rank Wigner D functions. Rows
              and columns are sorted by descending ranks:

                        [D( 2,2)  ...  D( 2,-2)
                           ...    ...    ...  
                         D(-2,2)  ...  D(-2,-2)]

Notes

The resulting Wigner matrix is to be used as v=W*v, where v is a column vector of irreducible spherical tensor coefficients in the following order: T(2,2), T(2,1), T(2,0), T(2,-1), T(2,-2). See the notes on rotation conventions for the basic definitions of rotations in Spinach.

See also

wigner.m, mat2sphten.m, sphten2mat.m, euler2dcm.m

Version 2.3, authors: Ilya Kuprov