Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
cb47065
added separatrix, contour center, and magnetic axes with clockable op…
prasad-sawantdesai Mar 26, 2026
7bc37fa
added quantities and spacing between plots
prasad-sawantdesai Mar 27, 2026
8759cdb
fixed integration with machine description
prasad-sawantdesai Mar 27, 2026
1b927c9
fixed colorbars position
prasad-sawantdesai Mar 27, 2026
7538154
fix color of separatrix
prasad-sawantdesai Mar 27, 2026
5d0d18d
remove legend for quantities
prasad-sawantdesai Mar 27, 2026
cd82599
fixed formatting
prasad-sawantdesai Mar 27, 2026
847b356
added documetation about tkinter installation
prasad-sawantdesai Mar 27, 2026
c5a3299
Add boundary overlays (outline, separatrix, x-points, strike-points, …
prasad-sawantdesai Mar 30, 2026
09ea0b8
do not join strike points and rename labels
prasad-sawantdesai Mar 30, 2026
0381773
changed the marker for current center
prasad-sawantdesai Mar 30, 2026
dfa98ea
reverted rho option and use of IMAS constants
prasad-sawantdesai Mar 31, 2026
e332fcb
fixed formatting issue
prasad-sawantdesai Mar 31, 2026
0ba5b0e
contour_tree implementation DD4
prasad-sawantdesai Mar 31, 2026
26bd780
removed boundary and made separatrix black
prasad-sawantdesai Mar 31, 2026
d570da9
Merge branch 'iterorganization:develop' into feature/add_separatrix_a…
prasad-sawantdesai May 4, 2026
e57c1ab
Merge branch 'iterorganization:develop' into feature/add_separatrix_a…
prasad-sawantdesai Jun 2, 2026
58b6352
added lazy=True and fixed bug in reading data
prasad-sawantdesai Jun 11, 2026
094c40f
magnetic_axis +, current center + , geometric axis x and separatrix …
prasad-sawantdesai Jun 11, 2026
0cd9c11
for DD3 read values from boundary x_point and strike_point
prasad-sawantdesai Jun 11, 2026
e46a8f2
plot rho2d with transpose
prasad-sawantdesai Jun 12, 2026
9c650a2
show URI on top left corner
prasad-sawantdesai Jun 12, 2026
863e09b
Do not show quantities at the start and make it visible/invisible bas…
prasad-sawantdesai Jun 12, 2026
d3246f9
add buttons to clear overlay show legends inside to save space and ba…
prasad-sawantdesai Jun 12, 2026
2be598a
added overlay CLI argument
prasad-sawantdesai Jun 12, 2026
1c13e23
fixed comment
prasad-sawantdesai Jun 12, 2026
692ead8
fixed provenance
prasad-sawantdesai Jun 12, 2026
10229bb
provenance if passed in center. do not show same uri if --md passed. …
prasad-sawantdesai Jun 15, 2026
612add8
removed unused import
prasad-sawantdesai Jun 15, 2026
afdc00b
read boundary/outline
prasad-sawantdesai Jun 15, 2026
d45066d
added plotting script provennace as title
prasad-sawantdesai Jun 15, 2026
d64ed81
Merge branch 'develop' into feature/add_separatrix_and_magnetic_axes_…
prasad-sawantdesai Jun 15, 2026
25d7bef
removed provenance flag and always showed title
prasad-sawantdesai Jun 15, 2026
a06d803
added --no-provenance
prasad-sawantdesai Jun 19, 2026
301de7f
fixed units, -p to --profiles,remove y axis labels
prasad-sawantdesai Jun 19, 2026
7745398
plot machine description with psi when using --no-overlay -md
prasad-sawantdesai Jun 19, 2026
aaec5d8
fix multiple URIs to single one if IDSes are coming from same data en…
prasad-sawantdesai Jun 19, 2026
2595404
show boundary/outline if present
prasad-sawantdesai Jun 22, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,20 @@ plotequilibrium --uri "imas:mdsplus?user=public;pulse=134174;run=117;database=IT

## Requirements

- Python ≥ 3.8
- IMAS Python Access Layer (`imas-python`)
- 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](https://www.python.org/downloads/) 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:
Expand Down
7 changes: 4 additions & 3 deletions docs/source/plotequilibrium.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ shows pf coils position and toroidal flux.

.. code-block:: bash

$ plotequilibrium --uri "imas:mdsplus?user=public;pulse=134174;run=117;database=ITER;version=3" --rho -md pf_active wall --plots
$ plotequilibrium --uri "imas:mdsplus?user=public;pulse=134174;run=117;database=ITER;version=3" --rho -md pf_active wall --profiles
$ plotequilibrium --uri "imas:mdsplus?user=public;pulse=134174;run=117;database=ITER;version=3" --rho -md "imas:mdsplus?user=public;pulse=111001;run=103;database=ITER_MD;version=3#pf_active" "imas:mdsplus?user=public;pulse=116000;run=4;database=ITER_MD;version=3#wall"
$ plotequilibrium --uri "imas:mdsplus?user=public;pulse=134173;run=2326;database=TEST;version=3" --rho --md "imas:mdsplus?user=public;pulse=111001;run=103;database=ITER_MD;version=3#pf_active" "imas:hdf5?user=public;pulse=116000;run=4;database=ITER_MD;version=3#wall"

$ plotequilibrium --uri "imas:hdf5?path=/work/imas/shared/imasdb/ITER/3/100507/5" --md "imas:hdf5?path=/work/imas/shared/imasdb/ITER_MD/3/116000/5#wall" --profiles --no-provenance

.. image:: _static/images/plotequilibrium.png
:alt: image not found
:align: center
Expand All @@ -33,4 +34,4 @@ shows pf coils position and toroidal flux.

.. image:: _static/images/plotequilibrium3.png
:alt: image not found
:align: center
:align: center
Loading