GW: Animation of a gravitational wave

GWR Documentation

Animation of a gravitational wave

Description

Displays an animation of a gravitational wave passing through an array of test particles, perpendicular to the plane of the plot

Usage

GW(plus = 0.03, cross = 0, lattice = TRUE, frames = 20, n = 11, center =c(0,0), ...)

Arguments

plus, cross

(Complex) amplitudes for the plus and cross polarizations

frames

Number of frames in one oscillation

lattice, n

If argument lattice is TRUE, the particles are arranged in a n\times n lattice; if FALSE, there are n particles arranged in a circle

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 points()

Details

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.

Author(s)

Robin K. S. Hankin

Examples



## 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)


RobinHankin/schwarzschild documentation built on Nov. 13, 2024, 12:58 p.m.