pleiades.Configuration

class pleiades.Configuration(**kwargs)[source]

A container for a full configuration of magnets for an experiment

Parameters:
  • components (list) – A list of pleiades.Component objects to be added to the configuration
  • labels (list of str) – A list of the names for the components being added
  • filename (str) – A filename for the Configuration
  • grid (pleiades.Grid object) – A grid on which to compute Green’s functions and fields
  • artists – A list of matplotlib patch objects
Variables:
  • grid (pleiades.Grid object) – A grid on which to compute Green’s functions and fields
  • R (np.array) – The R locations of the grid
  • Z (np.array) – The Z locations of the grid
  • psi (np.array) – The psi values on the grid
  • BR (np.array) – The BR values on the grid
  • BZ (np.array) – The BZ values on the grid
  • patches (list) – A list of patch objects for the configuration
  • patch_coll (matplotlib.patches.PatchCollection) – A patch collection for easier adding to matplotlib axes