File:VFPt barker3 coil.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 800 × 600 pixels, file size: 50 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: Magnetic field around a three-loop Barker coil[1] consisting of three round current loops with identical radius aligned along a cylinder. Distances and currents are optimized to remove variations in the central magnetic field, up to its 5th-order derivative with respect to the center.

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 .

The dots symbolize where the current flows out of the image plane, whereas the crosses are where the current flows into the plane.
Date
Source Own work
Author Geek3
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with VectorFieldPlot.
Source code
InfoField

Python code

# 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[edit]

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
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.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current20:24, 13 March 2018Thumbnail for version as of 20:24, 13 March 2018800 × 600 (50 KB)Geek3 (talk | contribs)User created page with UploadWizard

Metadata