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.2

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.2
File Size Uploaded Provenance Actions
tokamesh-0.6.2.tar.gz 585.9 kB Without provenance Details for tokamesh-0.6.2.tar.gz

Built distribution (wheel)

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

Total release size: 625.7 kB

Release files / tokamesh-0.6.2.tar.gz

Download URL tokamesh-0.6.2.tar.gz
Size 585.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5f322ccc1594ffc660c33c2cd8086da1319a67ee62c7c40cf9be0491a45ccbc3
BLAKE2b-256 checksum
How to use checksums
a815c4a146267a5c6c0c1407ca7bf3216e3e64dd784c7af9211c48e5f989b84f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL tokamesh-0.6.2-py3-none-any.whl
Size 39.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
478a7e943692e1f2a715880bc62c117fd0a3e9012a39f1bde9810ddad851958d
BLAKE2b-256 checksum
How to use checksums
9bfdcd135974ea67925fe0485ee82a6934058eb70553aeae1c5458eb24d07585
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for tokamesh 0.6.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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