pleiades.compute_greens¶
-
pleiades.compute_greens(rzw, rz_pts)[source]¶ Compute axisymmetric Green’s functions for magnetic fields
Parameters: - rzw (ndarray or iterable of ndarray) – An Nx3 array whose columns are r locations, z locations, and current weights respectively for the current filaments.
- rz_pts (Nx2 np.array) – An Nx2 array whose columns are r locations and z locations for the mesh points where we want to calculate the Green’s functions.
Returns: 3-tuple of 1D np.array representing the Green’s function for psi, BR, and Bz respectively.
Return type: