plotneutron

plotneutron plots particles vs normalised toroidal flux coordinate. It retrieves from distribution_sources IDS refer data dictionary.

Syntax plotneutron

$ plotneutron -h
Usage: plotneutron [-h] -u URI [--dd-update] [--rc RC] [-t TIME] [--save]
                   [--directory DIRECTORY]

---- Display the neutron profiles from the distribution_sources IDSs

Options:
  -h, --help            show this help message and exit
  -u, --uri URI         URI of the dataentry (e.g, imas:hdf5?path=./testdb or
                        ./testpulse.nc)
  --dd-update           Convert IDS to the default version of the data
                        dictionary if enabledotherwise, use the original IDS
                        stored on disk.
  --rc RC               Semicolon-separated rcParams string (e.g.,
                        'lines.linewidth=2;axes.titlesize=14')
  -t, --time TIME       Time
  --save                Save figure at default location
  --directory DIRECTORY
                        Directory to save the figure

Example

$ plotneutron --uri "imas:mdsplus?user=public;pulse=121014;run=11;database=ITER;version=3" -t 450
image not found
Time  = 482.00 s
Distribution_sources contains 9 sources
D + D -> He3 + n(2.45 MeV); Total; P = 136.60 kW
D + D -> He3 + n(2.45 MeV); Thermal - Thermal; P = 1.57 kW
D + D -> He3 + n(2.45 MeV); Beam - Thermal; P = 135.03 kW
D + D -> He3 + n(2.45 MeV); Total; P = -90000000000000011196554993145437224960.00 kW
D + T -> He4 + n(14.1 MeV); Total; P = 29.37 kW
D + T -> He4 + n(14.1 MeV); Thermal - Thermal; P = 0.12 kW
D + T -> He4 + n(14.1 MeV); Beam - Thermal; P = 0.57 kW
D + T(1 MeV) -> He4 + n(14.1 MeV); Total; P = 29.37 kW
D + T(1 MeV) -> He4 + n(14.1 MeV); Total; P = -90000000000000011196554993145437224960.00 kW