desc.coils.CoilSet.linspaced_angular
- classmethod CoilSet.linspaced_angular(coil, current=None, axis=[0, 0, 1], angle=6.283185307179586, n=10, endpoint=False, check_intersection=True)Source
Create a CoilSet by repeating a coil at equal spacing around the torus.
- Parameters:
coil (Coil) – Base coil to repeat.
current (float or array-like, shape(n,)) – Current through (each) coil, in Amperes. Overrides coil.current.
axis (array-like, shape(3,)) – Axis to rotate about, in X,Y,Z coordinates.
angle (float) – Total rotational extent of the final coil, in radians.
n (int) – Number of copies of original coil.
endpoint (bool) – Whether to include a coil at final rotation angle. Default = False.
check_intersection (bool) – whether to check the resulting coilsets for intersecting coils.