1. Equilibrium¶
1.1. Fiesta¶
-
class
vita.modules.equilibrium.fiesta.
Fiesta
(filename)¶ Class for tracing the magnetic field lines given a FIESTA equlibrium
Parameters: filename (str) – the path to the FIESTA MATLAB save file. Variables: b_field (VectorFunction3D) – A 3D vector function of the magnetic field. -
b_field
¶ Function for getting the magnetic a 3D vector function of the magnetic field.
-
get_midplane_lcfs
(psi_p=1.0005)¶ Function for getting the inner and outer radial position of the LCFS at the midplane
- input: self, a reference to the object itself
- psi_p, the flux surface of the LCFS, standard is psi_p = 1.005 (otherwise the field-line is located inside the LCFS)
return: Rcross, a list with the outer and inner radial position of the mid-plane LCFS
-
read_fiesta_model
()¶ Function for reading the FIESTA equilibrium data from a .mat file
input: self, a reference the object itself
- output: self.r_limiter, a numpy array with the radial coordinates of the vessel limits
- self.z_limiter, a numpy array with the vertical coordinates of the vessel limits self.r_vec, a numpy array with the radial grid coordinates self.z_vec, a numpy array with the vertical grid coordinates self.psi, a numpy array with the flux coordinates self.psi_n, a numpy array with the normalised flux coordinate self.psi_axis, self.psi_lcfs, self.mag_axis, self.b_r, a numpy array with the radial magnetic field component self.b_z a numpy array with the vertical field component self.b_phi, a numpy array with the toroidal field component self.b_theta, a numpy array with the poloidal magnetic field component self.b_vac_radius, a self.b_vac, self.i_rod, a float with the current in the rod self.x_points, self.f_profile, self.q_profile, self.lcfs_polygon,
-
to_cherab_equilibrium
()¶ Function for converting this Fiesta object to a CHERAB equilibrium.
rtype: EFITEquilibrium
-
1.2. Equdsk¶
Coming soon.