File:Stokes aether drag.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 315 × 315 pixels. Other resolutions: 240 × 240 pixels | 480 × 480 pixels | 768 × 768 pixels | 1,024 × 1,024 pixels | 2,048 × 2,048 pixels.
Original file (SVG file, nominally 315 × 315 pixels, file size: 121 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionStokes aether drag.svg |
English: Diagram illustrating Stokes' aether drag theory in the sun's rest frame. The aether velocity is shown in black vectors, the earth is shown moving at velocity v, and a light ray is shown being bent from the vertical. |
Date | |
Source | pylab, scipy, inkscape, matplotlib |
Author | BlankAxolotl |
SVG development InfoField | This W3C-invalid plot was created with Matplotlib. |
Source code InfoField | Python code#!/usr/bin/env python2
from pylab import *
from matplotlib import patches, path
class FlowField:
def __init__(self, v, R):
self.v = v
self.R = R
def __call__(self, x,y):
r2 = x**2 + y**2
theta = arctan(y/x)
vr = self.v*(1 - self.R**2/r2)*cos(theta)
vtheta = -self.v*(1 + self.R**2/r2)*sin(theta)
return (vr*cos(theta) - vtheta*sin(theta),
vr*sin(theta) + vtheta*cos(theta))
R=3
v = -10
vel = FlowField(v, R)
width = 12
span = arange(0,width,1.3)
span = r_[-span[::-1],span]
X,Y = meshgrid(span,span)
R2 = X**2 + Y**2
U,V = vel(X,Y)
U = U - v
U[R2 < R**2] = nan
V[R2 < R**2] = nan
#make up a trajectory. This is a totally made up trajectory.
dy = -0.001
x,y = 2.5,width
ux, uy = 0, -30000.0
traj = []
for i in range(int(abs(width/dy))):
uxp,uyp = vel(x,y)
ux += uxp-v; uy += uyp
t = dy/uy
y += uy*t; x += ux*t
traj.append((x,y))
traj = array(traj)
traj = traj[sum(traj**2,1) > R*R]
raycolor = 'brown'
earthcolor = (0.4,0.4,0.9)
fig = figure(figsize=(3.5,3.5), facecolor='white')
ax = Axes(fig,[0,0,1,1],yticks=[],xticks=[],frame_on=False)
fig.add_axes(ax)
ax.add_patch(patches.FancyArrowPatch(path=path.Path(traj),arrowstyle='-
|
Licensing
[edit]Ahalda at English Wikipedia, the copyright holder of this work, hereby publishes 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.
Attribution: Ahalda at English Wikipedia
- 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.
Original upload log
[edit]The original description page was here. All following user names refer to en.wikipedia.
Date/Time | Dimensions | User | Comment |
---|---|---|---|
2013-04-23 21:29 | 315×315× (123644 bytes) | Ahalda | |
2013-04-21 04:36 | 450×450× (197690 bytes) | Ahalda | Uploading a self-made file using [[Wikipedia:File_Upload_Wizard|File Upload Wizard]] |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 09:09, 6 March 2016 | 315 × 315 (121 KB) | OgreBot (talk | contribs) | (BOT): Reverting to most recent version before archival | |
09:09, 6 March 2016 | 450 × 450 (193 KB) | OgreBot (talk | contribs) | (BOT): Uploading old version of file from en.wikipedia; originally uploaded on 2013-04-21 04:36:04 by Ahalda | ||
14:44, 3 December 2014 | 315 × 315 (121 KB) | Antoni Salvà (talk | contribs) | Transferred from en.wikipedia |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org
- Usage on es.wikipedia.org
- Usage on pt.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.
Width | 252pt |
---|---|
Height | 252pt |