Skip to content

Utilities

Plotting an MFILE

Summary document

plot_proc is used for plotting an overview of the results from an MFILE. It can be run using its own CLI:

python process/io/plot_proc.py -f path/to/MFILE.DAT

or through Process's main CLI (working, but still in development):

process -i path/to/IN.DAT --plot --mfile path/to/MFILE.DAT

plot_proc_1

Figure 1: plot_proc front summary page

plot_proc_2

Figure 2: plot_proc plasma profiles and cross-sections page

plot_proc_3

Figure 3: plot_proc TF coil and turn structure page

Scan files

plot_scans is a tool to show the change in variables as a scan variable is varied. Scans can be done in one or two dimensions.

python process/io/plot_scans.py -f path/to/MFILE.DAT

2D_contour_plot

Figure 4: 2D scan contour plot

2D_stack_plot

Figure 5: 1D scan plot

Radial build

plot_radial_build is to plot the radial build of the machine in terms of bar segments. It can be run as follows:

python process/io/plot_radial_build.py -f path/to/MFILE.DAT

radial_build_plot

Figure 5: Simple radial build plot