GTCartesianSphericalHarmonicY

GTCartesianSphericalHarmonicY[l,m,x,y,z]
gives the spherical harmonic in cartesian form.

DetailsDetails

  • With the help of the associate Legendre polynomials (see LegendreP) the spherical harmonics can be calculated in cartesian form, with the help of the following equation:
  • The result is normalized using the following pre-factor:.
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, Appendix A.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

First, load the package:

In[1]:=
Click for copyable input

Then run the example:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=