![Python](https://img.shields.io/badge/dynamic/yaml?url=https://raw.githubusercontent.com/meom-group/tunax/master/.github/workflows/run_tests.yaml&label=Python&query=$.jobs.test.strategy.matrix["python-version"]&color=seagreen)
[![PyPi](https://img.shields.io/badge/dynamic/xml?url=https://pypi.org/rss/project/tunax/releases.xml&label=PyPi&query=/rss/channel/item[1]/title)](https://pypi.org/project/tunax/)
[![Documentation Status](https://readthedocs.org/projects/tunax/badge/?version=latest)](https://tunax.readthedocs.io/en/latest/?badge=latest)
[![Tests](https://github.com/meom-group/tunax/actions/workflows/run_tests.yaml/badge.svg)](https://github.com/meom-group/tunax/actions/workflows/run_tests.yaml)
[![License: CC-BY-NC](https://img.shields.io/badge/License-CC--BY--NC-chocolate.svg)](./LICENSE)
# 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](https://tunax.readthedocs.io/en/latest/).
## 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 :
```shell
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* :
```shell
poetry install --no-dev
```
Raw data
{
"_id": null,
"home_page": "https://github.com/meom-group/tunax",
"name": "tunax",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "ocean, closure, calibration, differential, turbulence",
"author": "Gabriel Mouttapa",
"author_email": "gabriel.mouttapa@univ-grenoble-alpes.fr",
"download_url": "https://files.pythonhosted.org/packages/09/f6/a367e59d7b92b161e83b49163fdf6d286cf801e3bc718a48f8715fe4ac5d/tunax-0.1.1.tar.gz",
"platform": null,
"description": "![Python](https://img.shields.io/badge/dynamic/yaml?url=https://raw.githubusercontent.com/meom-group/tunax/master/.github/workflows/run_tests.yaml&label=Python&query=$.jobs.test.strategy.matrix[\"python-version\"]&color=seagreen)\n[![PyPi](https://img.shields.io/badge/dynamic/xml?url=https://pypi.org/rss/project/tunax/releases.xml&label=PyPi&query=/rss/channel/item[1]/title)](https://pypi.org/project/tunax/)\n[![Documentation Status](https://readthedocs.org/projects/tunax/badge/?version=latest)](https://tunax.readthedocs.io/en/latest/?badge=latest)\n[![Tests](https://github.com/meom-group/tunax/actions/workflows/run_tests.yaml/badge.svg)](https://github.com/meom-group/tunax/actions/workflows/run_tests.yaml)\n[![License: CC-BY-NC](https://img.shields.io/badge/License-CC--BY--NC-chocolate.svg)](./LICENSE)\n\n# Description\nThis 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.\n\n# Repository organisation\n## Sources\nThe 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](https://tunax.readthedocs.io/en/latest/).\n\n## Notebooks\nThe folder `notebooks/` contains some notebooks of demonstration of *tunax*.\n\n# Installation\n*Tunax* is installed by default with JAX on CPU.\n## Stable version\n*Tunax* is pip installable the following command will install the lastest stable release :\n```shell\npip install tunax\n```\n\n## Development release\nThe 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* :\n```shell\npoetry install --no-dev\n```\n",
"bugtrack_url": null,
"license": "LICENSE",
"summary": "Differential calibrator of the vertical ocean turbulence closures.",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/meom-group/tunax",
"Repository": "https://github.com/meom-group/tunax"
},
"split_keywords": [
"ocean",
" closure",
" calibration",
" differential",
" turbulence"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c9564532f76433be4c6746c71251579198a548bb7fa2520aca1870a168561da3",
"md5": "af9006315f893de12fefc79fcb308a62",
"sha256": "05ad01f1986c3764e9d0e2f14cbdb7fe4502027cd481209e4a64ac68b6f61015"
},
"downloads": -1,
"filename": "tunax-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "af9006315f893de12fefc79fcb308a62",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 38966,
"upload_time": "2024-11-13T16:00:22",
"upload_time_iso_8601": "2024-11-13T16:00:22.215998Z",
"url": "https://files.pythonhosted.org/packages/c9/56/4532f76433be4c6746c71251579198a548bb7fa2520aca1870a168561da3/tunax-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "09f6a367e59d7b92b161e83b49163fdf6d286cf801e3bc718a48f8715fe4ac5d",
"md5": "b599db68e1af8b56d88b5d7ebeaea452",
"sha256": "fc10844b59cd680e343b23b2a373c7fbe3ad50491c1a12fa1f515f3ebebb9e6e"
},
"downloads": -1,
"filename": "tunax-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "b599db68e1af8b56d88b5d7ebeaea452",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 35149,
"upload_time": "2024-11-13T16:00:23",
"upload_time_iso_8601": "2024-11-13T16:00:23.403646Z",
"url": "https://files.pythonhosted.org/packages/09/f6/a367e59d7b92b161e83b49163fdf6d286cf801e3bc718a48f8715fe4ac5d/tunax-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-13 16:00:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "meom-group",
"github_project": "tunax",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "tunax"
}