Python tools for constructing meshes and geometry matrices used in tomography problems
Project description
Tokamesh
Tokamesh is a Python package which provides tools for constructing meshes and geometry matrices used in tomographic inversion problems in toroidal fusion-energy devices such as MAST-U.
Features
- Advanced geometry matrix calculation
- Tokamesh constructs geometry matrices using barycentric linear-interpolation rather
than the typical zeroth-order interpolation. This allows for accurate tomographic
inversions with a significantly lower number of basis functions.
- Tokamesh constructs geometry matrices using barycentric linear-interpolation rather
than the typical zeroth-order interpolation. This allows for accurate tomographic
inversions with a significantly lower number of basis functions.
- Tomography-optimised mesh construction
- Tokamesh provides tools to create meshes that are optimised for tomography problems, e.g. local-refinement of triangles to increase mesh density in areas where it is needed without greatly increasing the size of the mesh.
Jupyter notebook demos
Jupyter notebooks are available which demonstrate mesh construction and geometry matrix calculation.
Installation
Tokamesh is available from PyPI, so can be easily installed using pip as follows:
pip install tokamesh
Documentation
The package documentation is available at tokamesh.readthedocs.io.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tokamesh-0.5.0.tar.gz
(484.5 kB
view details)
Built Distribution
tokamesh-0.5.0-py3-none-any.whl
(32.5 kB
view details)
File details
Details for the file tokamesh-0.5.0.tar.gz
.
File metadata
- Download URL: tokamesh-0.5.0.tar.gz
- Upload date:
- Size: 484.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb3405be549e253b8eeeaffb780785831ede28f36aecbe031bf7d09baf17ea9a |
|
MD5 | 114cf74cab9a4147d12dd50b5f2fca47 |
|
BLAKE2b-256 | b4ab78aeb9e1021c218e7cbced3883eca06128b0c27edd702b3c873448b18ac6 |
File details
Details for the file tokamesh-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: tokamesh-0.5.0-py3-none-any.whl
- Upload date:
- Size: 32.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 411399e65f351413243d12381c411a79cbd2bf42a9f5f47151dd39aefca97c14 |
|
MD5 | 198baf0cd32dce99391aad02dc8e76a0 |
|
BLAKE2b-256 | aea72556f890c9557d23b8a9d868b5c99d017236c8148ad48cf3d9b616b9ba9d |