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

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.8
File Size Uploaded
tunax-0.2.8.tar.gz 40.8 kB Details

Built distribution (wheel)

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

Total release size: 86.4 kB

Release files / tunax-0.2.8.tar.gz

Download URL tunax-0.2.8.tar.gz
Size 40.8 kB
Tags Source
SHA-256 checksum
How to use checksums
63397ac5b471a06a8d6e5ecbb6e3b847a91fd3b87f4ee92cf466f860ee267133
BLAKE2b-256 checksum
How to use checksums
ab4248d2dee116fde17a678d9ff109bbafc8ea187ce563f9ef703a4ec313c89e
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.8-py3-none-any.whl

Download URL tunax-0.2.8-py3-none-any.whl
Size 45.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6c2196e039b060e6d55ed8608b0424eddefeee7a7d191d9d837e22761930a36
BLAKE2b-256 checksum
How to use checksums
ce3039518010ee7e8c1751b6b11bbf5cca67c3b0124c6f8a01591f5a48ef2ce1
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

This release

0.2.8 This release

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