File:VFPt barker3 coil.svg
Summary
{{Information
|description=
The inner loop is placed around the center and carries the current . The outer loops have an axial position and current . The central magnetic field is .
|date=2018-03-13 |source=Own work |author=Geek3 |permission= |other versions= |other fields={{Igen|VectorFieldPlot|0|+|c1=
- paste this code at the end of VectorFieldPlot 1.7
doc = FieldplotDocument('VFPt_barker3_coil', commons=True) field = Field({'ringcurrents':[[-0.7601,0,0,1,1], [0,0,0,1,0.5315],
[0.7601,0,0,1,1]]})
y0 = 0.952 Fsum = ig.quad(lambda y: field.F([0., y])[0], -y0, y0)[0] nlines = 16 ystart = [op.brentq(lambda ys: ig.quad(lambda y: field.F([0., y])[0],
-y0, ys)[0] / Fsum - (0.5+i)/nlines, -y0, y0) for i in range(nlines)]
for x0, y0 in [ [0, y] for y in ystart]:
line = FieldLine(field, [x0, y0], directions='both', maxr=10) doc.draw_line(line, arrows_style={'dist':2, 'min_arrows':2, 'max_arrows':4, 'offsets':[0,0.5,0.5,1]})
for x, y in [ [-0.7601, -0.87], [0.7601, -0.87], [-0.7601, 0.87], [0.7601, 0.87] ]:
line = FieldLine(field, [x, y]) doc.draw_line(line, arrows_style={'min_arrows':1, 'offsets':[0.5,0.5,0.5,0.5]})
doc.draw_currents(Field({'ringcurrents':[[-0.7601,0,0,1,1], [0.7601,0,0,1,1]]})) doc.draw_currents(Field({'ringcurrents':0,0,0,1,0.5315}), scale=sqrt(0.5315)) doc.write() }} }}
Licensing
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.