ssapy_toolkit.Coordinates.cartesian_to_spherical

Functions

cart2sph_deg(x, y, z)

Convert Cartesian coordinates (x, y, z) to spherical coordinates (azimuth, elevation, radius) in degrees.

ssapy_toolkit.Coordinates.cartesian_to_spherical.cart2sph_deg(x: float, y: float, z: float) float[source]

Convert Cartesian coordinates (x, y, z) to spherical coordinates (azimuth, elevation, radius) in degrees.

Parameters: - x (float): The x-coordinate in Cartesian space. - y (float): The y-coordinate in Cartesian space. - z (float): The z-coordinate in Cartesian space.

Returns: - float: Azimuth, elevation, and radius in degrees.

Author: Travis Yeager (yeager7@llnl.gov)