Skip to main content

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

Installed automatically via pip

  • NumPy, Matplotlib, Pandas
  • Rich (for enhanced terminal output)

Requires separate installation

  • Tkinter — usually bundled with Python but may require system packages:
    • Linux (Debian/Ubuntu): sudo apt install python3-tk
    • Linux (RHEL/CentOS/Rocky): sudo dnf install python3-tkinter
    • Windows: included in the python.org installer ("tcl/tk and IDLE" component, enabled by default)
    • macOS (python.org installer): included by default
    • macOS (Homebrew): brew install python-tk (or brew install python-tk@3.x for a specific version)

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

Metadata

Release files for imas-idstools 2.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imas-idstools 2.5.0
File Size Uploaded
imas_idstools-2.5.0.tar.gz 7.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for imas-idstools 2.5.0
File Interpreter ABI Platform
imas_idstools-2.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 MB

Release files / imas_idstools-2.5.0.tar.gz

Download URL imas_idstools-2.5.0.tar.gz
Size 7.6 MB
Tags Source
SHA-256 checksum
How to use checksums
6e5c2a6a7f7936f5155779ed97a306caf098c806b8d9d113aaede5992e48a611
BLAKE2b-256 checksum
How to use checksums
4c791c064fcd3f7e8cf2a0159e254d898ba2d954b3fc50681ea5df3c868cc8c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release files / imas_idstools-2.5.0-py3-none-any.whl

Download URL imas_idstools-2.5.0-py3-none-any.whl
Size 376.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4aa23444c8e65367cd5d7c16c2da9c39a0083c6eb8065e56b983cc748a795e5
BLAKE2b-256 checksum
How to use checksums
d195ae420e9aad64939af8b7044866476aaba2725d0bd9265171c020244f2a77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.5.0 This release

2 release files

2.4.1

2 release files

2.4.0

2 release files

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