Skip to main content

Python based collection of data analysis and visualization tools written in IMAS framework

Project description

IDStools - IMAS IDS Python Tools

A comprehensive Python toolset for working with IMAS (Integrated Modelling and Analysis Suite) Interface Data Structures (IDS) in fusion research.

Overview

IDStools provides a collection of command-line utilities and Python libraries for:

  • Database Operations: List, copy, compare, and manipulate IDS data entries
  • Data Analysis: Extract, validate, and analyze fusion plasma data
  • Visualization: Plot equilibrium, profiles, and other physics quantities
  • Format Conversion: Convert GEQDSK files to IDS equilibrium format

Key Features

Database Tools

  • idslist - List available IDSs and their time slices
  • idscp - Copy IDSs between data entries
  • idsdiff - Compare IDSs and highlight differences
  • idsperf - Profile IDS access performance
  • dblist - List database entries and pulses

Analysis Tools

  • eqdsk2ids - Convert GEQDSK equilibrium files to IDS format
  • idsprint - Print IDS data values and structures
  • idsresample - Resample IDS data in time
  • plotequilibrium - Plot equilibrium data
  • plotkineticprofiles - Visualize kinetic profiles

Data Validation

  • Built-in COCOS (Coordinate Conventions) validation
  • IDS structure and physics consistency checks
  • Data quality assessment tools

Installation

From PyPI

pip install imas-idstools

From Source

git clone https://github.com/iter-organization/IDStools.git
cd IDStools
pip install .

Quick Start

List IDSs in a pulse

idslist --uri "imas:mdsplus?user=public;pulse=134174;run=117;database=ITER;version=3"

Plot equilibrium

plotequilibrium --uri "imas:mdsplus?user=public;pulse=134174;run=117;database=ITER;version=3"

Requirements

  • Python ≥ 3.8
  • IMAS Python Access Layer (imas-python)
  • NumPy, Matplotlib, Pandas
  • Rich (for enhanced terminal output)

Documentation

Full documentation is available at the project repository. Each tool includes built-in help:

<tool-name> --help

Contributing

We welcome contributions from the fusion community! Please see CONTRIBUTING.md for guidelines.

License

This project is licensed under the terms specified in LICENSE.md.

Support

For questions and support, contact: imas-support@iter.org

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imas_idstools-2.4.1.tar.gz (7.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imas_idstools-2.4.1-py3-none-any.whl (362.4 kB view details)

Uploaded Python 3

File details

Details for the file imas_idstools-2.4.1.tar.gz.

File metadata

  • Download URL: imas_idstools-2.4.1.tar.gz
  • Upload date:
  • Size: 7.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for imas_idstools-2.4.1.tar.gz
Algorithm Hash digest
SHA256 74d99c87457a2c3e940c2c4da35b1568f41a37dc45edfc229eedab921ecd8af2
MD5 b8ccb2c88023229dda47f4f85b522814
BLAKE2b-256 99e348cbcebaee68123d91c5839110379dc03ab5d7d28997c80633bad9aa84cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_idstools-2.4.1.tar.gz:

Publisher: publish.yml on iterorganization/IDStools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_idstools-2.4.1-py3-none-any.whl.

File metadata

  • Download URL: imas_idstools-2.4.1-py3-none-any.whl
  • Upload date:
  • Size: 362.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for imas_idstools-2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 737052d358e19bbd5b4feb8373b7caacb0e220631f5ceea1f974ce1f088698d5
MD5 c85cf498aa36d8f66d4871ffa5975479
BLAKE2b-256 a3c9aa26de0a355867de8ec0fe018d43558da3732063b31485c6c44a7e562825

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_idstools-2.4.1-py3-none-any.whl:

Publisher: publish.yml on iterorganization/IDStools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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