I would expect this to yield, when plotted, 4 coils that are spaced np.pi/2 apart. However, plot_coils fails when called on this coilset, and the CoilsetMinDistance objective calculates that every coil overlaps eachother.
rotating the first coil by pi/4 makes everything work as expected, so something weird is happening when the coil is at phi=0
Our
CoilSet
class, when a coil is given atphi=0
, does not seem to give the correct result.I would expect this to yield, when plotted, 4 coils that are spaced
np.pi/2
apart. However,plot_coils
fails when called on this coilset, and theCoilsetMinDistance
objective calculates that every coil overlaps eachother.rotating the first coil by
pi/4
makes everything work as expected, so something weird is happening when the coil is atphi=0