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

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

Built distribution (wheel)

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

Total release size: 84.8 kB

Release files / tunax-0.2.10.tar.gz

Download URL tunax-0.2.10.tar.gz
Size 40.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d7b0ad34fe8258f629f8bd18eb725962b3cfdda47bfa51302f69c405b7ae5348
BLAKE2b-256 checksum
How to use checksums
25d5dacc3e508b9093f10013c17fffc158b4bc529c2692560109d62560aa349b
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.10-py3-none-any.whl

Download URL tunax-0.2.10-py3-none-any.whl
Size 44.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f81c4300392cf79b8bb68342e0388290f9a431325b54d39c3298a0497ca68e6
BLAKE2b-256 checksum
How to use checksums
4728feb66ab00f7e0b261b3331268d32edbbed14dd928a6398b739344a60bf9b
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

This release

0.2.10 This release

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