Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

DOI Build Status

Cherab

Welcome to the Cherab project.

Please see our documentation for guidance on using the code.

Installation

Cherab is a large code framework consisting of a core package and feature packages. Users will generally install the core package and the specific feature packages they need for their work. For example, users working on the JET tokamak will require the cherab-core package, and the cherab-jet package.

Unless developing new code for a cherab package, most users should clone the master branch. When developing new features for cherab, the development branch should be used as the base.

All cherab packages are standard python packages and basic installation is achieved with:

pip install cherab

This will compile the Cherab cython extensions and install the package. If you don't have administrator access to install the package, add the --user flag to the above line to install the package under your own user account. Alternatively, consider creating a virtual environment and installing cherab in the environment.

When developing cherab it is usually preferred that the packages be installed in "editable" mode. Clone this repository and change directory to the root of the repository, then run:

pip install -e .

This will cause the original installation folder to be added to the site-package path. Modifications to the code will therefore be visible to python next time the code is imported. A virtual environment or the --user flag should be used if you do not have administrative permission for your python installation. If you make any changes to Cython files you will need to run ./dev/build.sh to rebuild the relevant files.

As all the Cherab packages are dependent on the cherab-core package, this package must be installed first. Note that other packages may have their own inter-dependencies, see the specific package documentation for more information.

Cherab is organised as a namespace package, where each of the submodules is installed in the same location as the core package. Any submodules using Cython with a build-time dependency on Cherab need to use a Cython version newer than 3.0a5, due to a bug in how earlier versions of Cython handle namespaces.

By default, pip will install from wheel archives on PyPI. If a binary wheel is not available for your version of Python, or if you are installing in editable mode for development, the package will be compiled locally on your machine. Compilation is done in parallel by default, using all available processors, but can be overridden by setting the environment variable CHERAB_NCPU to the number of processors to use.

Governance

The management of the project is divided into Scientific and Technical Project Management. The Scientific management happens through the normal community routes such as JET and MST1 task force meetings, ITPA meetings, etc.

The Technical Management Committee (TMC) is a smaller subset of the community, being responsible for ensuring the integrity and high code quality of Cherab is maintained. These TMC members would have in-depth knowledge of the code base through a demonstrated history of contributing to the project. The TMC would primarily be responsible for accepting / rejecting merge requests on the basis of code / physics algorithm quality standards.

TMC Members

  • Jack Lovell (Oak Ridge National Laboratory, USA)
  • Matej Tomes (Institute of Plasma Physics of the Czech Academy of Sciences, Czechia)
  • Koyo Munechika (ITER Organisation)
  • Jakub Svoboda (Institute of Plasma Physics of the Czech Academy of Sciences, Czechia)

Former TMC Members

  • Alys Brett (chairwoman, master account holder, responsible for delegation, UKAEA, UK)
  • Matt Carr (External consultant, diagnostic physics models)
  • Alex Meakins (External consultant, Architecture, software integrity)
  • Vlad Neverov (NRC Kurchatov Institute, Moscow)

Citing The Code

  • Dr Carine Giroud, Dr Alex Meakins, Dr Matthew Carr, Dr Alfonso Baciero, & Mr Corentin Bertrand. (2018, March 23). Cherab Spectroscopy Modelling Framework (Version v0.1.0). Zenodo. http://doi.org/10.5281/zenodo.1206142

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cherab-1.6.0rc1.tar.gz (25.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cherab-1.6.0rc1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (57.6 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

cherab-1.6.0rc1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (55.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

cherab-1.6.0rc1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (56.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

cherab-1.6.0rc1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (57.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

cherab-1.6.0rc1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (54.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

cherab-1.6.0rc1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (54.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

Details for the file cherab-1.6.0rc1.tar.gz.

File metadata

  • Download URL: cherab-1.6.0rc1.tar.gz
  • Upload date:
  • Size: 25.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for cherab-1.6.0rc1.tar.gz
Algorithm Hash digest
SHA256 81157ab6bb2763326618093d82000c9a48c4618d09daf24ede0494d791a8bf74
MD5 d8c732752d35c7df70fadc5449f87228
BLAKE2b-256 271b73b5ff694591ee251536cd08b348bfa9f25e2103b36a0f6e292bc9b0148d

See more details on using hashes here.

File details

Details for the file cherab-1.6.0rc1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cherab-1.6.0rc1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2e6bf6e69667a20aff01387f0767c9085101fa28c79a422bcfdadeb77a159c16
MD5 572cb18e23fd4be55bef33d14ced1cec
BLAKE2b-256 64c5efaa888e25985fb4de7a9a79b90cdcd76438a8093404a791677baf29daf7

See more details on using hashes here.

File details

Details for the file cherab-1.6.0rc1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cherab-1.6.0rc1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 3d5ee6efc73baf7713c61528d440c9690eafcf0fe96099491ce62fbc378f68ef
MD5 2b8bf173e795f80d66660a1ce4decd36
BLAKE2b-256 53f916517b0ac9a13c51ea568313a2c3daa2416e046fc5863c407b9f6d41a1c9

See more details on using hashes here.

File details

Details for the file cherab-1.6.0rc1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cherab-1.6.0rc1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 7592ed1f7786227c3ab58f0cefd7f0c6bf8c0cdf89aa94890c7c26d2a2fa6825
MD5 a9b8ed14eb8a0a494e9db11738e883da
BLAKE2b-256 c4b511ce9afb113ed260376d4497b5742fa3f0e3a0ba7da014e3e1699ae4638c

See more details on using hashes here.

File details

Details for the file cherab-1.6.0rc1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cherab-1.6.0rc1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 83d9fb7eb3304c6d2777cb4adcd6c2528016e0f06bbd460b0a0a08f43d461f2b
MD5 0cf944a4e4e7c8df7030182a4a13cde9
BLAKE2b-256 d639507bb1fb2591ff1fe5cb8b20eac3738c02c519beb1ffab9f8b60208558a9

See more details on using hashes here.

File details

Details for the file cherab-1.6.0rc1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cherab-1.6.0rc1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 fa9eeb1a58d3eeee1ac6339fd2d3de085a39b5b3c5381ac8df48fa41128a4ab6
MD5 eb5ae092c1460ad347b9ed4d1985bbd6
BLAKE2b-256 db9c98635e28bc6c597f215be7ccd9e9463b6aa028efdcb56bd06da847c78cfa

See more details on using hashes here.

File details

Details for the file cherab-1.6.0rc1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for cherab-1.6.0rc1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c28a4a2c33bcd77659b4800ce795e108e9652e0e215ae2f414b6366531f0a105
MD5 b4945885c3bba9693f4989d184f1d463
BLAKE2b-256 3882275681b974beea4107db24be621922ee88a7d863873d371fe2688ee18a8d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.6.0rc1 This release

7 files

1.5.0

7 files

1.4.0

5 files

1.3.0

5 files

1.2.0

3 files

1.1.0

1 file

1.0.1

1 file

1.0.0

1 file

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