Skip to main content

Coordinate axes for scientific computing in JAX

Project description

Coordax: Coordinate Axes for JAX

Authors: Dmitrii Kochkov and Stephan Hoyer

Coordax is a Python library for labeled axes with JAX. Our approach is reminiscent of Xarray, but tailored to meet the needs of modern physics- and AI-based simulation codes written in JAX, such as NeuralGCM.

Compared to other libraries for labeled arrays, Coordax provides a handful of key features:

  1. First class integration with JAX, including support for arbitrary JAX transformations
  2. Easy wrapping of code not written for labeled arrays with cmap, inspired by Penzai
  3. Optional Coordinate objects, for advanced use-cases
  4. Lossless conversion to and from Xarray, for serialization and data analysis

Coordax was developed to meet the needs of NeuralGCM, but we hope it will be useful more broadly!

For more details, read the documentation.

Disclaimer

Coordax is an experiment that we are sharing with the outside world in the hope that it will be useful. It is not a supported Google product. We welcome feedback, bug reports and code contributions, but cannot guarantee they will be addressed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coordax-0.2.5.tar.gz (52.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coordax-0.2.5-py3-none-any.whl (60.3 kB view details)

Uploaded Python 3

File details

Details for the file coordax-0.2.5.tar.gz.

File metadata

  • Download URL: coordax-0.2.5.tar.gz
  • Upload date:
  • Size: 52.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for coordax-0.2.5.tar.gz
Algorithm Hash digest
SHA256 5e13f18dcc3459afd4381230121f547b1631f7c4bf867bbed0720fbd6999947d
MD5 58ccf0e7b4641f7d7576af396f7c00cd
BLAKE2b-256 8c4029af7e72a417103936ce5a7cc728ea4a0eb4246b357a780a4ee9211e92ef

See more details on using hashes here.

File details

Details for the file coordax-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: coordax-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 60.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for coordax-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 130213664f3ef3c9d449ab8b2d0ecb3e29630e32fc4bbcdf70da6cae68889a87
MD5 19cfaed193eaa98533dac8eb23ada86b
BLAKE2b-256 a83be77f4a650e2d7d331c98e2391a5892a1ee87a6ada69c1e5b49ae8c98c5c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page