Note

You are not reading the stable version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

cartesian

gammapy.utils.coordinates.cartesian(r, theta)[source]

Convert polar coordinates to cartesian coordinates.