This notebook estimates several parameters of the plasma in the context of tokamak fusion physics. These parameters include but are not limited to the safety factor, the electron temperature, electron pressure, plasma volume and electron thermal energy and electron energy confinement time. Other more general plasma parameters are calculated as well.
The formulas and explanations are mostly based on the book  WESSON, John. Tokamaks. 3. ed. Oxford: Clarendon press, 2004. ISBN 9780198509226. and the reader is encouraged to consult it for details.
The accuracy of these parameters stronly depends on the availability of the plasma position and size reconstruction.
import numpy as np import pandas as pd import matplotlib.pyplot as plt from scipy import integrate, signal, interpolate, constants import holoviews as hv hv.extension('bokeh') import hvplot.pandas from urllib.request import urlopen, HTTPError