...
In the previously opened terminal, simply type the next following command:
Code Block |
---|
viz |
The main GUI interface window of IMAS_VIZ should display, shown in similar to the figure below:
Loading 'magnetics' IDS from an IMAS local data source example
...
- Select the tab 'Local data source'
Enter the following IDS case parameters as shown in the figure below:
Section User name: g2lfleur
IMAS database name: test
Shot number: 52344
Run number: 0
The data source is a pulse file located in the /~public/imasdb/test directory of user g2lfleur.- Click button open Open
A navigation tree should open with a list of all IDSs. Available IDSs for the given shot are displayed in blue.
The tree will allow browsing data for the specific shot number which is displayed by the root node (IDSs(52344)). - Right click on 'magnetics' IDS and select the command 'Get magnetics data (default to occurrence 0)'
The 'magnetics' IDS is displayed as new nodes in the tree. Nodes of an IDS are organized according to the IMAS
data dictionnary.
Plotting a 1D array
- Navigate through the 'magnetics' IDS and search for the node 'ids.magnetics.flux_loop[0].flux.data'
- Right-click on the node 'ids.magnetics.flux_loop[0].flux.data'
- From the pop-up menu, select the command 'Plot ids.magnetics.flux_loop[0].flux.data'
The plot should display as in the image below.
...
- From the previous navigation tree, navigate to the node 'ids.magnetics.flux_loop[16].flux.data'
- Right-click on the node 'ids.magnetics.flux_loop[16].flux.data'
- From the pop-up menu, select the command 'Add plot to existing figure' and 'Figure0' in the attached submenu
The plot should display as in the image below.
Comparing foat 1D arrays between 2 shots
Open the shot 52682
Section User name: g2lfleur
IMAS database name: test
Shot number: 52682
Run number: 0Load occurrence 0 of 'magnetics' IDS
Navigate through the 'magnetics' IDS of shot 52682 and search for the node 'ids.magnetics.flux_loop[0].flux.data'
- Right-click on the node 'ids.magnetics.flux_loop[0].flux.data'
From the pop-up menu, select the command 'Add plot to existing figure' and 'Figure0' in the shown submenuattached submenu
The plot should display as in the image below.
...
- Load the equilibrium IDS from shot 52682
- Navigate the tree of shot 52682 and search for the node 'ids.equilibrium.time_slice[0].profiles_1d.f'
- Click on the + symbol at the right of node 'ids.equilibrium.time_slice[0].profiles_1d.f' to expand it it.
You should get the image below. Note that coordinate1 = 'ids.equilibrium.time_slice[itime].profiles_1d.psi'
is attached to for this FLT_1D data array. - Right-click now on the node 'ids.equilibrium.time_slice[0].profiles_1d.f'
- From the pop-up menu, select the command 'Plot ids.equilibrium.time_slice[0].profiles_1d.f to a new figure'
The plot should display as in the image below.
The data are represented as a function of coordinate1 for the first time slice. - Click on the time slider and release the mouse at index value 41
The time slider allows you to move along the time axis. You should obtain the image below.
...
Note |
---|
The plots order depends on the order in which the data selection have has been performed. First selected data will be the first plots in the multiplot window. |
...