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

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.1
File Size Uploaded Provenance Actions
tokamesh-0.6.1.tar.gz 585.5 kB Without provenance Details for tokamesh-0.6.1.tar.gz

Built distribution (wheel)

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

Total release size: 625.2 kB

Release files / tokamesh-0.6.1.tar.gz

Download URL tokamesh-0.6.1.tar.gz
Size 585.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ffeca2e461be2274e8ee27318e11a4273c9cf07343a18ca68d798e3503c993e7
BLAKE2b-256 checksum
How to use checksums
950872c9ed5ff150e1219d76489845a3c7e19c24d34855fad36ad4b7237f6095
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.1-py3-none-any.whl

Download URL tokamesh-0.6.1-py3-none-any.whl
Size 39.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1592f3720e6bb89e133da1f6ec91c4c3de6bcd155a5e892593dd15e814fce822
BLAKE2b-256 checksum
How to use checksums
65a566cc5907f47b33d50625c8cac4af86c81d543ff8fe021c830568ad7628f1
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.1

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