Differential calibrator of the vertical ocean turbulence closures.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tunax-0.2.6.tar.gz.
File metadata
- Download URL: tunax-0.2.6.tar.gz
- Upload date:
- Size: 39.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.13.2 Darwin/23.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acd0a520ec84c3b3ea642ce803db401fdcbf338bc0ee280e9b891b5a5573564d
|
|
| MD5 |
b65a033b83d4136498ecf116b21d8920
|
|
| BLAKE2b-256 |
52b5d0e0b7a2d203a9f877347dd5d209bcea9ed6c8ed96a3e8a532e58243b2c0
|
File details
Details for the file tunax-0.2.6-py3-none-any.whl.
File metadata
- Download URL: tunax-0.2.6-py3-none-any.whl
- Upload date:
- Size: 44.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.13.2 Darwin/23.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
237e1316aa97c3a823ff3d2f0403908d1752316c526beb2255a58fd06ffbee84
|
|
| MD5 |
ccdac575f8c50a892d8ae093f1e74150
|
|
| BLAKE2b-256 |
08f75499258cdf48eaad66b53f1b05f343b253600cecccfc76505913a9e3dddd
|