Difference between revisions of "Dcm2wigner.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Normalise preformatted blank lines in function documentation blocks)
Line 14: Line 14:
 
     D      - matrix of second rank Wigner D functions. Rows
 
     D      - matrix of second rank Wigner D functions. Rows
 
               and columns are sorted by descending ranks:
 
               and columns are sorted by descending ranks:
−
   
+
 
                         [D( 2,2)  ...  D( 2,-2)
 
                         [D( 2,2)  ...  D( 2,-2)
 
                             ...    ...    ...   
 
                             ...    ...    ...   

Revision as of 17:40, 5 June 2026

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

Syntax

    D=dcm2wigner(dcm)

Arguments

    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