Skip to main content

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.

Cherab can also be installed with conda from the conda-forge channel:

conda install --channel conda-forge cherab

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

Metadata

Release files for cherab 1.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cherab 1.6.0
File Size Uploaded
cherab-1.6.0.tar.gz 25.2 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for cherab 1.6.0
File
cherab-1.6.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
cherab-1.6.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
cherab-1.6.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
cherab-1.6.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
cherab-1.6.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
cherab-1.6.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details

Total release size: 361.1 MB

Release files / cherab-1.6.0.tar.gz

Download URL cherab-1.6.0.tar.gz
Size 25.2 MB
Tags Source
SHA-256 checksum
How to use checksums
fb419733120b4db4bcf5257a9b15419f80f9f30a2720b59e905cbc1c1ddd20a4
BLAKE2b-256 checksum
How to use checksums
d818f0ad279c129982a141345a10fdae0efa196b142d5ffc34562ae7960c9362
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cherab-1.6.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL cherab-1.6.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 57.6 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9d6b45fd39c95d4e3c2e9a0efe371f63af90a467e8c42a406a79588f5e70cc25
BLAKE2b-256 checksum
How to use checksums
14cc5acecd99f2a6af9d7ce07ec40d74cd7e6e66159380206748383a7c6b8f45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cherab-1.6.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL cherab-1.6.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 55.8 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
630f2173abcc34c5734eaec7b353bb7faeae403d51ff7fded6e8086683d7a2f9
BLAKE2b-256 checksum
How to use checksums
a4768f3c74390d1162d6ff849dce68a4fd3f8ed7953b0202e6fa343555073912
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cherab-1.6.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL cherab-1.6.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 56.3 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a9b341df7e6a2443d6f6e52a80cb4ddd7e95deb38726b0fa4df1a9b092e3784f
BLAKE2b-256 checksum
How to use checksums
b2450894236d968af20f96553c241a232a13d2a73144fdda977025361b6e1b8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cherab-1.6.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL cherab-1.6.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 57.2 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
c0be8529da3d9c593e8481c6a12b3cc234986e88c27114f59ceb277f7fa4d886
BLAKE2b-256 checksum
How to use checksums
48a5afd9cd50f8782f0257ff43c3af27670f815a857c8622e06b961872abbbd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cherab-1.6.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL cherab-1.6.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 54.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e07656857c0b691c2b8aa0a4914d6db5661b1c1e54d9591d922a8e6ed0b46f64
BLAKE2b-256 checksum
How to use checksums
a1cb2052dae7974407a0410baa1fb617bfa61743928609773cfd9c1714d2a5be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cherab-1.6.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL cherab-1.6.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 54.4 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
8930272b9df3f67b9094835f00ad5ef6a15a58922c887d6e3051f94bd3e9c12d
BLAKE2b-256 checksum
How to use checksums
75198ebacee5addf029216905e4c68ddb0b983f6049ab57789a2d0fea24e7a16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3
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