Skip to main content

Python tools for constructing meshes and geometry matrices used in tomography problems

Project description

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.

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.4.1.tar.gz (500.5 kB view hashes)

Uploaded Source

Built Distribution

tokamesh-0.4.1-py3-none-any.whl (29.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page