time_fn: P-wave arrival times simulation

View source: R/pwave-depth.R

time_fnR Documentation

P-wave arrival times simulation

Description

Simulates the arrival time of p-waves (without noise) using a mean velocity and euclidian distance, without taking the curvature into account.

Usage

time_fn(X = NULL, X0 = NULL, V = 7)

Arguments

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.

Details

Used for estimating event location, given a series of seismometer observations.

Value

numeric scalar providing the time in seconds for a p-wave to arrive at a seismometer.

Examples

  arrival.time <- time_fn(X = c(100,200,10), X0  = c(500, 80, 25), V = 5)


ezECM documentation built on Oct. 18, 2024, 1:07 a.m.