spheres.coordinates.sph_c

spheres.coordinates.sph_c(sph)[source]

Converts spherical coordinates to extended complex coordinate.

Parameters

sph (list/np.ndarray) – (List of) Spherical coordinates \(\theta, \phi\).

Returns

c – Extended complex coordinate(s).

Return type

complex/inf or np.ndarray