dcm2wigner.m

From Spinach Documentation Wiki
Revision as of 18:48, 5 June 2026 by Kuprov (talk | contribs) (Rename Arguments section heading to Parameters)
Jump to: navigation, search

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