desc.coils.MixedCoilSet.linspaced_linear
- classmethod MixedCoilSet.linspaced_linear(coil, current=None, displacement=[2, 0, 0], n=4, endpoint=False, check_intersection=True)Source
Create a CoilSet by repeating a coil at equal spacing in a straight line.
- Parameters:
coil (Coil) – Base coil to repeat.
current (float or array-like, shape(n,)) – Current through (each) coil, in Amperes. Overrides coil.current.
displacement (array-like, shape(3,)) – Total displacement of the final coil, relative to the initial coil position, in X,Y,Z coordinates.
n (int) – Number of copies of original coil.
endpoint (bool) – Whether to include a coil at final displacement location. Default = False.
check_intersection (bool) – whether to check the resulting coilsets for intersecting coils.