treams.special.sph2cyl

treams.special.sph2cyl(r) = <ufunc 'sph2cyl'>

Convert spherical to cylindrical coordinates

The spherical coordinates \((r, \theta, \varphi)\) are converted to \((\rho, \varphi, z)\) with \(\rho = r \sin \theta\) and \(z = \rho \cos \theta\).

Parameters:

r (float, 3-array) – Spherical coordinates in 3-dimensional space

Returns:

float, 3-array