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.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tunax-0.2.12.tar.gz | 40.0 kB | Without provenance | Details for tunax-0.2.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tunax-0.2.12-py3-none-any.whl | Python 3 | none | any | Details for tunax-0.2.12-py3-none-any.whl |
Total release size: 84.9 kB
Release files / tunax-0.2.12.tar.gz
| Download URL | tunax-0.2.12.tar.gz |
|---|---|
| Size | 40.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
257d14d280ab54999e6ca32505f078d5468a10fbf628d95165e45fc0a211430e
|
|
BLAKE2b-256 checksum How to use checksums |
6d7c6d0e1e09704823423a61198c0d20bc8178610c8cabb5865ff131c8561507
|
| 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.12-py3-none-any.whl
| Download URL | tunax-0.2.12-py3-none-any.whl |
|---|---|
| Size | 44.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10aec4eb45c99a8fc063db83cd29b502e8fe3b0915356e82e3fe0e67cf4895a4
|
|
BLAKE2b-256 checksum How to use checksums |
c83ae1c22ec0ff33c45fac593c059b4d604f0cdcf39b999f92d52465606efe88
|
| 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
|
Security for tunax 0.2.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.