spheres.coordinates.c_sph

spheres.coordinates.c_sph(c)[source]

Converts extended complex coordinate to spherical coordinates.

Parameters

c (complex/inf or list/np.ndarray) – Extended complex coordinate(s).

Returns

sph – (List of) Spherical coordinates \(\theta, \phi\).

Return type

np.ndarray