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.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 imas-idstools 2.5.1
File Size Uploaded Provenance Actions
imas_idstools-2.5.1.tar.gz 7.6 MB With provenance Details for imas_idstools-2.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 7.9 MB

Release files / imas_idstools-2.5.1.tar.gz

Download URL imas_idstools-2.5.1.tar.gz
Size 7.6 MB
Tags Source
SHA-256 checksum
How to use checksums
11834be0f7033d817932d6d336810b86c282f1f4875ba15bb0afca69178ec7a2
BLAKE2b-256 checksum
How to use checksums
308f4f472a6edcd387b39fe1f44dd3e9b8475077d0cca219e16db42575633022
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

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

Download URL imas_idstools-2.5.1-py3-none-any.whl
Size 378.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68228d32164d361bf90629e807cf7007e9f5ea971bd355b7026c937cd3dc3ded
BLAKE2b-256 checksum
How to use checksums
a4ddb27f9eff323c6fcac17d1d494f253d414f49bc9c5d18f1dad9648c2f073f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Security for imas-idstools 2.5.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for imas_idstools-2.5.1.tar.gz

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 Nov 23, 2026.

Transparency log

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