osaft.core.functions.spherical_2_cartesian_coordinates
- osaft.core.functions.spherical_2_cartesian_coordinates(r, theta)[source]
Transforms spherical coordinates (r theta) of an axisymmetric model into Cartesian coordinates (x, z). See here for the definition of the coordinate system.
- Parameters:
r (
float) – x radial coordinatetheta (
float) – polar angle
- Return type:
tuple[float,float]