cff-version: 1.2.0 abstract: "

To our knowledge no Python package is available for conversion between cartesian and polar coordinates, so we made one for convenience.

The package converts numpy arrays where the last dimension contains x, y or magnitude, orientation coordinates.

When working with cupy arrays, the package performs calculations on the GPU automatically.

" authors: - family-names: Butler given-names: Rick orcid: "https://orcid.org/0000-0002-3202-9401" title: "Python script to convert between cartesian and polar coordinates" keywords: version: 1 identifiers: - type: doi value: 10.4121/99135db7-940b-481d-8f36-3f26d089c94c.v1 license: MIT date-released: 2025-04-29