Skip to main content

Python PyPi Documentation Status Tests License: CC-BY-NC

Description

This package provides a framework for calibrating the parameters of vertical physics schemes of ocean circulation models using variational optimization. The parameters are calibrated through the minimization of an 'objective function' which compares model predictions with 'Large Eddy Simulations' (LES). Tunax is written in JAX in order to use automatic differentiation for computing the gradient of the objective function with respect to model parameters.

Repository organisation

Sources

The source code of tunax is in the folder tunax/. The two main modules are tunax/model.py which contains the implementation of the forward Single Column Model and tunax/fitter.py which contains the implementation of the calibration part. The various physical closures equations that Tunax can calibrate are implemented in the folder tunax/closures/. The other modules implement the object used by the model and the callibrator and they are described in the documentation.

Notebooks

The folder notebooks/ contains some notebooks of demonstration of tunax.

Installation

Tunax is installed by default with JAX on CPU.

Stable version

Tunax is pip installable the following command will install the lastest stable release :

pip install tunax

Development release

The most recent additions to Tunax since the last release are implemented in the main branch of this repository. To benefit from them one can clone or fork this repository and install Tunax with the package manager poetry :

poetry install --no-dev

Notebook use

To use the notebooks with the specific packages that they use, one can clone or fork the branch main or another of this repository and install Tunax with the package manager poetry :

poetry install

Metadata

Release files for tunax 0.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tunax 0.2.7
File Size Uploaded
tunax-0.2.7.tar.gz 40.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tunax 0.2.7
File Interpreter ABI Platform
tunax-0.2.7-py3-none-any.whl Python 3 none any Details

Total release size: 85.1 kB

Release files / tunax-0.2.7.tar.gz

Download URL tunax-0.2.7.tar.gz
Size 40.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c32020652d3f6420bec45d5a2dab10c7cc548e13870e159e104315735bb09955
BLAKE2b-256 checksum
How to use checksums
8449bfe063a708dee540a61aba7bdf3c829904c53827c2383d67084cd1cdb562
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.13.2 Darwin/25.5.0

Release files / tunax-0.2.7-py3-none-any.whl

Download URL tunax-0.2.7-py3-none-any.whl
Size 45.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
043715fbaa876ace9044204d8d61a153635bca69fffc7f3a8f02067d3671a1fd
BLAKE2b-256 checksum
How to use checksums
f61a3eb8bbda7f0c15fe00dddb765e24faebbd2f82f54baadde0f1bf84e42e8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.13.2 Darwin/25.5.0

Release history Release notifications | RSS feed

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

This release

0.2.7 This release

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page