Skip to main content

Collection of algorithms used for tokamak plasma tomography

Project description

Tomotok

Framework for tomographic inversion of fusion plasmas focusing on inversion methods based on discretisation. Structured as a namespace package to ease implementation on different experiments and for various diagnostics.

Core

The documentation for the Core can be found on this link.

The Core package of Tomotok implements various discretization algorithm that are used for tomography of tokamak plasma. It is required by specific packages that can create automated database access for a given fusion experimental device and ease the routine tomography computation. Together with the Core package, simple GUI for result analysis is distributed.

Inversions

The algorithms take numpy.ndarrays or scipy.sparse matrix objects as input to be able to run independently on the rest of the package in order to promote interoperability with other codes (e.g. ToFu)

Currently implemented algorithms:

  • MFR for sparse matrices using scipy.sparse.linalg.spsolve
  • MFR for sparse matrices using cholesky decompsition from scikit.sparse
  • SVD and GEV linear algebraic inversion for dense matrices
  • BOB with simple one node basis (wavelets in preparation)

Auxiliary features

Apart from the main inversion methods some auxiliary features are also included. In order to make routine computation of inversions a database interface was designed using template classes. These can load signals, detector view geometry and magnetic flux reconstruction in format usually used for tokamak data.

Simple synthetic diagnostic framework is also implemented. It can be used for testing the implemented algorithms. It uses regular rectangular nodes and assumption of toroidal symmetry as it is the simplest case often used for inversions of tokamak plasma radiation.

Implemented auxiliary features:

  • Template classes for automated database interface
  • Geometry matrix computation using numerical integration and single line of sight approximation
  • Smoothing matrix computation, both isotropic and anisotropic (based on magnetic flux surfaces)
  • Simple phantom model generators (isotropic and anisotropic)
  • Other tools for processing

Graphical user interface

Simple graphical user interface for visualisation and post-processing of tomography results is included in the Core package. It is based on modular system of windows. It uses main window to spawn child windows for analysis to customize displayed information based on user needs.

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

tomotok-1.0.tar.gz (79.6 kB view details)

Uploaded Source

Built Distribution

tomotok-1.0-py3-none-any.whl (73.9 kB view details)

Uploaded Python 3

File details

Details for the file tomotok-1.0.tar.gz.

File metadata

  • Download URL: tomotok-1.0.tar.gz
  • Upload date:
  • Size: 79.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for tomotok-1.0.tar.gz
Algorithm Hash digest
SHA256 7b1d0cdda838c9fc1160b96e1ae1d2e39cbfa7c14787829e2fe8bf7d4f932717
MD5 27e7ea6066e453f017ea26fb0f32d918
BLAKE2b-256 0cd3d81b6be355196bbd53b5a461ab85698e49a21db39dbca83a0aab2c934386

See more details on using hashes here.

File details

Details for the file tomotok-1.0-py3-none-any.whl.

File metadata

  • Download URL: tomotok-1.0-py3-none-any.whl
  • Upload date:
  • Size: 73.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for tomotok-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 941addb9b43627411a5ab9883d7f9a38fdee8132df9ad9e2459dc308c07bed04
MD5 dca809cc884c8c7616466afc35bea6aa
BLAKE2b-256 238f331caf3b05aee8676388b3525f46f946e26b0edd28432d036cc2f44b4d4a

See more details on using hashes here.

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