File:VFPt dipole thumb.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 220 × 201 pixels, file size: 22 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionVFPt dipole thumb.svg |
English: Field of an ideal dipole inside the image plane. The same field shape arises from a point-like electic dipole (electric field) or a point-like magnetic dipole (magnetic field). The electric dipole can be thought of as two different charges put very close together and the magnetic dipole as a very small conductor loop carrying current. This is a thumbnail version optimized for 220px. |
| Date | |
| Source | Own work |
| Author | Geek3 |
| Other versions | |
| SVG development InfoField | |
| Source code InfoField | Python code# paste this code at the end of VectorFieldPlot 1.0
doc = FieldplotDocument('VFPt_dipole_thumb', width=220, height=201, unit=40, commons=True)
field = Field({'dipoles':[[0,0,1,0]]})
n = 15
phi0 = 0.3
def F(phi):
r = rot([1,0], phi)
Fxy = field.F(sc.array([1,0]) + r)
return sc.dot(r, Fxy) / vabs(Fxy)**(2/3.)
Fs = ig.quad(F, -pi+phi0, pi-phi0)[0]
for i in range(n):
a = i / (n - 1.0)
phi = op.brentq(lambda phi1: ig.quad(F, -pi+phi0, phi1)[0] - a * Fs, -pi+phi0, pi-phi0)
line = FieldLine(field, [1+cos(phi), sin(phi)], directions='both', pass_dipoles=0)
doc.draw_line(line, linewidth=1, arrows_style={'dist':1.5, 'scale':1.4,
'min_arrows':1, 'max_arrows':2, 'offsets':[0.75,0.25,0.25,0.75]})
doc.write()
|
Licensing
I, the copyright holder of this work, hereby publish it under the following licenses:
| 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 |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported 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.
You may select the license of your choice.
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
June 2010
image/svg+xml
22,377 byte
ad65bed677b06885f2f47ab715f3cabf8a64e812
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 19:35, 15 June 2010 | 220 × 201 (22 KB) | wikimediacommons>Geek3 | innermost arrow removed |
File usage
There are no pages that use this file.