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.0.tar.gz (46.8 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.0-py3-none-any.whl (53.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coordax-0.2.0.tar.gz
  • Upload date:
  • Size: 46.8 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.0.tar.gz
Algorithm Hash digest
SHA256 dfcd80ac4f3507f59b3d6cc54e3114edd96868b5c69ff9881e765d89e2124ec7
MD5 cf3a81ef32cc7dca6ad7176d5e112103
BLAKE2b-256 15f45507d0f6eaf5fa08c10af25cded62062f98651bf16a0e60ef4553f1c961d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coordax-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 53.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9259bfcfe09b08ab98146d6f355652255ab9cb0a6ac43b845ad65d827e079c43
MD5 090d76e5a4cb82152c9ffcf9d91c6db9
BLAKE2b-256 b1736097d1af69a52dfbc8a37754b54420d2d910b37991e13b4679e30bc6c316

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