1.0

1.0 | 1 rating Rate this file 15 downloads (last 30 days) File Size: 1.93 KB File ID: #20619

Wigner3j symbol

by Kobi

 

09 Jul 2008 (Updated 09 Jul 2008)

Code covered by BSD License  

Wigner3j( J123, M123) calculates the Wigner 3j symbol.

Download Now | Watch this File

File Information
Description

Wigner3j( J123, M123) calculates the Wigner 3j-symbol according to Racah formula.
The Wigner 3j symbol is useful for multiplication of Spherical Harmonics (and their generalizations) and for addition of angular momentum.
The are related to the Clebsch-Gordan coefficients by:
Wigner3j( J123, M123 ) = <J1,J2,M1,M2| J1,J2,J3,-M3> * (-1)^(J1-J2-M3) * (2*J3+1)^(-1/2).
This function is not limited to the factorial limitation (170), so it can be useful for any value of J.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Wigner3j.m

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
11 Aug 2008 Bruno Masiero

On line 35, to the check if m1+m2 = m3, you should use:

 m1 + m2 - m3 ~= 0

cheers

05 Nov 2008 Brice DUBOST

Please replace "m3 does not match m1 + m2" and the triangle condition by returning 0 instead of an error message

09 Sep 2009 Barratt Park

Instead of returning zero when the triangle rule abs(j1-j2)<=j3<=(j1+j2) or the projection addition rule m1+m2=m3, this program instead returns an error message. In my opinion this is not how a Three-J script should work, since many programers will want to apply a Three-J even in cases where it is trivially zero. The script should be modified to return zero when the Three-J is trivially equal to zero.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
chemistry Kobi 22 Oct 2008 10:09:29
physics Kobi 22 Oct 2008 10:09:29
wigner Kobi 22 Oct 2008 10:09:29
angular momentum Kobi 22 Oct 2008 10:09:29
wigner3j Kobi 22 Oct 2008 10:09:29
clebschgordan Cristina McIntire 24 Feb 2009 12:06:56
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com