GW | R Documentation |
Displays an animation of a gravitational wave passing through an array of test particles, perpendicular to the plane of the plot
GW(plus = 0.03, cross = 0, lattice = TRUE, frames = 20, n = 11, center =c(0,0), ...)
plus , cross |
(Complex) amplitudes for the plus and cross polarizations |
frames |
Number of frames in one oscillation |
lattice , n |
If argument |
center |
Coordinates of point which appears to be at rest (but note that, in reality, all the particles are at rest) |
... |
Further arguments, passed to |
Does what it says on the tin, basically. Creates a looped animation of a gravitational wave passing. The animation continues until interrupted. See the examples.
Robin K. S. Hankin
## Not run:
GW() # default gravitational wave with the plus polarization
GW(plus=0, cross=0.03) # cross polarization
GW(plus=0.03,cross=0.03) # both together
GW(plus=0.03,cross=0.06) # both together
GW(plus=0.05,cross=0.05i) # circular polarization (note 'i')
GW(plus=0.02-0.01i,cross=0.03+0.02i) # complicated
GW(lattice=FALSE)
GW(plus=0.03,cross=0.03i, lattice=FALSE)
GW()
GW(center=c(1,1))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.