desc.magnetic_fields.FourierCurrentPotentialField.compute_magnetic_vector_potential
- FourierCurrentPotentialField.compute_magnetic_vector_potential(coords, params=None, basis='rpz', source_grid=None, transforms=None, chunk_size=None)Source
Compute magnetic vector potential at a set of points.
This assumes the Coulomb gauge.
- Parameters:
coords (array-like shape(n,3)) – Nodes to evaluate vector potential at in [R,phi,Z] or [X,Y,Z] coordinates.
params (dict or array-like of dict, optional) – Dictionary of optimizable parameters, eg field.params_dict.
basis ({"rpz", "xyz"}) – Basis for input coordinates and returned magnetic vector potential.
source_grid (Grid, int or None or array-like, optional) – Source grid upon which to evaluate the surface current density K.
transforms (dict of Transform) – Transforms for R, Z, lambda, etc. Default is to build from source_grid
chunk_size (int or None) – Size to split computation into chunks of evaluation points. If no chunking should be done or the chunk size is the full input then supply
None. Default isNone.
- Returns:
A (ndarray, shape(N,3)) – Magnetic vector potential at specified points.