SSHFunc2

pylayers.antprop.antssh.SSHFunc2(L, theta, phi)[source]

ssh function version 2

Linteger,

spherical harmonics order

theta: numpy array(1,ndir) phi: numpy array(1,ndir)

theta and phi should have the same dimensions which represents the rays Compute the spherical harmonic functions for the order L return a spherical matrix ((1+L)*(2+L)/2,ndir) and the index (l,m) of the shperical harmonics