time_fn {ezECM} | R Documentation |
Simulates the arrival time of p-waves (without noise) using a mean velocity and euclidian distance, without taking the curvature into account.
time_fn(X = NULL, X0 = NULL, V = 7)
X |
numeric three element vector stipulating the location of a seismometer. Units of km |
X0 |
numeric three element vector stipulating the location of an event. Units of km |
V |
numeric scalar supplying the p-wave velocity in km/s. A quick google search (Jan 31st 2023) shows typical values range from 5 to 8 km/s. |
Used for estimating event location, given a series of seismometer observations.
numeric scalar providing the time in seconds for a p-wave to arrive at a seismometer.
arrival.time <- time_fn(X = c(100,200,10), X0 = c(500, 80, 25), V = 5)