Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

compute_LC_coordinates

Computes coordinates of PLC and FLC relative to origin


Description

Computes the space-time coordinates of PLC and FLC given control settings relative to the origin (\mathbf{r}, t) = (\boldsymbol 0, 0).

Since these coordinates do not change for different space-time positions, they can be computed once before getting the LC configurations for the entire field and then used in each call by array maskexing in get_LC_config.

Usage

compute_LC_coordinates(horizon = 1, speed = 1, space.dim = 1, type = c("PLC", "FLC"), 
    shape = c("cone", "tube", "revcone"))

Arguments

horizon

integer; horizon for the PLC or FLC

speed

speed of propagation

space.dim

maximum value

type

"PLC" or "FLC"

shape

shape of light cone: 'cone', 'tube', or 'revcone'.

See Also

Examples

plot(compute_LC_coordinates(speed = 1, horizon = 4), xlim = c(-4, 2), pch = "-", 
    cex = 2, col = 2, xlab = "Time", ylab = "Space")
points(compute_LC_coordinates(speed = 1, horizon = 2, type = "FLC"), pch = "+", cex = 2, 
    col = "blue")

plot(compute_LC_coordinates(speed = 1, horizon = 4, shape = "tube", type = "FLC"))
plot(compute_LC_coordinates(speed = 1, horizon = 4, shape = "revcone", type = "PLC"))

LICORS

Light Cone Reconstruction of States - Predictive State Estimation From Spatio-Temporal Data

v0.2.0
GPL-2
Authors
Georg M. Goerg <gmg@stat.cmu.edu>
Initial release
2013-11-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.