lstein.utils.polar2cart¶
- lstein.utils.polar2cart(r: float, theta: float) Tuple[float, float][source]¶
converts polar coordinates to cartesian coordinates
function to convert polar coordinates into cartesian coordinates
- Parameters
- r
float
radius
- theta
float
azimuthal angle
Raises
- Returns
- x
float
cartesian x-coordinate
- y
float
cartesian y-coordinate
- Dependencies
numpy
typing