pytransform3d.coordinates.cylindrical_from_spherical

pytransform3d.coordinates.cylindrical_from_spherical(p)[source]

Convert spherical coordinates to cylindrical coordinates.

Parameters
parray-like, shape (…, 3)

Spherical coordinates: radial distance (rho), inclination / elevation (theta), and azimuth (phi)

Returns
qarray, shape (…, 3)

Cylindrical coordinates: axial / radial distance (rho), azimuth (phi), and axial coordinate / height (z)

Examples using pytransform3d.coordinates.cylindrical_from_spherical