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.11

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.11
File Size Uploaded
tunax-0.2.11.tar.gz 40.0 kB Details

Built distribution (wheel)

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

Total release size: 84.8 kB

Release files / tunax-0.2.11.tar.gz

Download URL tunax-0.2.11.tar.gz
Size 40.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0ca87931cec633bcead63f4f259a30a185e27b7d1dd125517ba1e0995548b0be
BLAKE2b-256 checksum
How to use checksums
47959f0966fc8756c43a2c183df7ef63e09d378b6c8f0f0f427bce8b183b507b
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.11-py3-none-any.whl

Download URL tunax-0.2.11-py3-none-any.whl
Size 44.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ceecfd122e5fb3fce50d50f483956685c83757e14169e3140557f8a21109a4f
BLAKE2b-256 checksum
How to use checksums
7fd3faaecc17db16c5cfbd8bf38287bb3a5d4928da6001eefd8114bbe849991e
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

This release

0.2.11 This release

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

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