Skip to main content

Tokamesh

Documentation Status

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. geo matrix example

  • 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. Example 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.

Metadata

Release files for tokamesh 0.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 tokamesh 0.6.0
File Size Uploaded
tokamesh-0.6.0.tar.gz 584.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tokamesh 0.6.0
File Interpreter ABI Platform
tokamesh-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 623.9 kB

Release files / tokamesh-0.6.0.tar.gz

Download URL tokamesh-0.6.0.tar.gz
Size 584.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4eb07534e85bb48fe76792e37a2d1e3fa1aeee8c2d909d38e638938276cb787f
BLAKE2b-256 checksum
How to use checksums
1dd7d006261de5bb208214367f9ac3e7c3522d3ea1d35a4c7da8cabc557fc9b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / tokamesh-0.6.0-py3-none-any.whl

Download URL tokamesh-0.6.0-py3-none-any.whl
Size 39.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66ed2e5ddb0f3b40fa70e431b4068d7adc84a9cf827040e0546bdf3f990b5678
BLAKE2b-256 checksum
How to use checksums
df9a44a999a0a76d9ffb31e3e21bd62b8af844cb86a88633b2db2fe8b57a62fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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