desc.coils.CoilSet.linspaced_angular
- classmethod CoilSet.linspaced_angular(coil, current=None, axis=[0, 0, 1], angle=6.283185307179586, n=10, endpoint=False)Source
Create a coil set by repeating a coil n times rotationally.
- Parameters:
coil (Coil) – base coil to repeat
current (float or array-like, shape(n,)) – current in (each) coil, overrides coil.current
axis (array-like, shape(3,)) – axis to rotate about
angle (float) – total rotational extent of coil set
n (int) – number of copies of original coil
endpoint (bool) – whether to include a coil at final angle