Converts cartesian coordinates to polar coordinates
converts a list of cartesian coordinates (x, y, z) to polar coordinates (R, theta, phi).
Compute real spherical harmonics, where the real harmonic Y^m_n is defined to be:
Real(Y^m_n) * sqrt(2) if m > 0 Y^m_n if m == 0 Imag(Y^m_n) * sqrt(2) if m < 0
This may take scalar or array arguments. The inputs will be broadcasted against each other.
Parameters : | - `m` : int |m| <= n
|
---|---|
Returns : | - `y_mn` : real float
:See also: :
|
Returns the degree (n) and order (m) of all the symmetric spherical harmonics of degree less then or equal it sh_order. The results, m_list and n_list are kx1 arrays, where k depends on sh_order. They can be passed to real_sph_harm.
Parameters : | sh_order : int
|
---|---|
Returns : | m_list : array
n_list : array
|
See also