File:VFPt Dipole field.svg
Original file (SVG file, nominally 700 × 600 pixels, file size: 39 KB)
Captions
Summary
[edit]DescriptionVFPt Dipole field.svg |
English: Schematic dipole field around the earth. (monochromatic) |
Date | |
Source | Own work |
Author | Geek3 |
Other versions | Dipole field.svg |
SVG development InfoField | |
Source code InfoField | Python code# paste this code at the end of VectorFieldPlot 1.3
doc = FieldplotDocument('VFPt_Dipole_field', commons=True, width=700, height=600, unit=100)
R = 1.55
sca = 2.4; lw = 1.0
field = Field({'dipoles':[[0, 0, 0, -1]]})
F = lambda t: sc.dot(field.F([R*cos(t), R*sin(t)]), [cos(t), sin(t)])
Fi = lambda t1: ig.quad(F, 0, t1)[0] * R
Fsum = Fi(pi)
line = FieldLine(field, [0, 5], directions='forward', maxr=10)
doc.draw_line(line, linewidth=lw, arrows_style={'dist':6-2*R, 'scale':sca,
'max_arrows':2, 'min_arrows':2, 'fixed_ends':[False, True, True, False]})
n = 15
p = -0.3
for i in range(n):
a = (i + 0.5 + p) / (n + 2*p)
t = op.brentq(lambda t:Fi(t) - a*Fsum, 0, pi)
if abs(i - n/2) > 4:
line = FieldLine(field, [R*cos(t), R*sin(t)], directions='both')
doc.draw_line(line, linewidth=lw, arrows_style={'dist':2*R, 'scale':sca,
'max_arrows':2, 'min_arrows':1, 'fixed_ends':[True, False, False, True]})
elif (i != 7):
line = FieldLine(field, [R*cos(t), R*sin(t)], directions='both', maxr=3)
doc.draw_line(line, linewidth=lw, arrows_style={'dist':2*R, 'scale':sca,
'max_arrows':1, 'min_arrows':1, 'fixed_ends':[False, False, False, True]})
line = FieldLine(field, [R*cos(t), -R*sin(t)], directions='both', maxr=3)
doc.draw_line(line, linewidth=lw, arrows_style={'dist':2*R, 'scale':sca,
'max_arrows':1, 'min_arrows':1, 'fixed_ends':[True, False, False, False]})
n2 = 3
for j in [-1,1]:
for i in range(n2):
a = (i + 0.5 - p) / (n + 2*p)
t = op.brentq(lambda t1: ig.quad(lambda r:field.F([r, 0.])[1], R, t1)[0] - a*Fsum, 0.1, R)
line = FieldLine(field, [j*t, 0.], directions='both')
doc.draw_line(line, linewidth=lw, arrows_style={'dist':2*R, 'scale':sca,
'max_arrows':1, 'min_arrows':1})
Re = 0.855
earth = doc.draw_object('g', {'id':'earth'})
doc.draw_object('circle', {'r':Re, 'cx':'0', 'cy':'0',
'style':'fill:#ffffff; stroke:#000000; stroke-width:0.01'}, group=earth)
doc.draw_object('path', {'d':'M -{0},0 A {0},{1} 0 0 1 {0},0'.format(Re, 0.2*Re),
'style':'fill:none; stroke:#000000; stroke-width:0.01'}, group=earth)
text_N = doc.draw_object('text', {'text-anchor':'middle', 'x':'0', 'y':37,
'transform':'translate(0,0.7) scale(0.002,-0.002)',
'style':'fill:#000000; stroke:none; font-size:100px; font-family:Bitstream Vera Sans'})
text_N.text = 'N'
text_S = doc.draw_object('text', {'text-anchor':'middle', 'x':'0', 'y':37,
'transform':'translate(0,-0.7) scale(0.002,-0.002)',
'style':'fill:#000000; stroke:none; font-size:100px; font-family:Bitstream Vera Sans'})
text_S.text = 'S'
doc.write()
|
Licensing
[edit]Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
- 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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 22:44, 13 December 2010 | 700 × 600 (39 KB) | Geek3 (talk | contribs) | own work |
You cannot overwrite this file.
File usage on Commons
The following 3 pages use this file:
File usage on other wikis
The following other wikis use this file:
- Usage on ca.wikipedia.org
- Usage on cv.wikipedia.org
- Usage on de.wikipedia.org
- Usage on en.wikipedia.org
- Usage on en.wikibooks.org
- Usage on es.wikipedia.org
- Usage on eu.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on hi.wikipedia.org
- Usage on hr.wikipedia.org
- Usage on ht.wikipedia.org
- Usage on hu.wikipedia.org
- Usage on hy.wikipedia.org
- Usage on ko.wikipedia.org
- Usage on nl.wikipedia.org
- Usage on no.wikipedia.org
- Usage on oc.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on sv.wikipedia.org
- Usage on tr.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Short title | VFPt_Dipole_field |
---|---|
Image title | VFPt_Dipole_field
created with VectorFieldPlot 1.3 http://commons.wikimedia.org/wiki/User:Geek3/VectorFieldPlot about: http://commons.wikimedia.org/wiki/File:VFPt_Dipole_field.svg rights: GNU Free Documentation license, Creative Commons Attribution ShareAlike license |