pleiades – Basic Functionality

Building Magnetic Configurations

pleiades.RectangularCoil A rectangular cross section coil in the R-Z plane
pleiades.Device A container for a full configuration of magnets for an experiment
pleiades.CurrentFilamentSet Set of locations that have the same current value.
pleiades.FieldsOperator Mixin class for computing fields on meshes
pleiades.compute_greens Compute axisymmetric Green’s functions for magnetic fields

Building Meshes

pleiades.Mesh A mesh in the R-Z plane for calculating magnetic fields and flux.
pleiades.RectMesh A regular linearly spaced 2D R-Z mesh.
pleiades.PointsMesh An unstructured mesh specified by two lists of coordinate points.
pleiades.RChord A 1D chord of cylindrical radii at fixed height z.
pleiades.ZChord A 1D chord of Z values at fixed cylindrical radius.
pleiades.SphericalRChord A 1D chord of spherical radius at fixed polar angle theta.
pleiades.ThetaChord A 1D chord of polar angles at fixed spherical radius r.

WIPPL Magnetic Configurations

pleiades.configurations.BRB The Device object representing the Big Red Ball at UW-Madison.
pleiades.configurations.PCX_magCage
pleiades.configurations.PCX_HH

Computing Equilibria

pleiades.compute_equilibrium Compute jxB=gradP equilibrium for given P as function of R
pleiades.mirror_equilibrium Compute jxB=gradP equilibrium for given P as function of psi/psi_lim given by P(psi) = p0*(1-(psi/psi_lim)**alpha1)**alpha2

IO Functionality

pleiades.write_eqdsk