Learn R Programming

TauP.R (version 1.5)

FindPrange: Ray Parameter Range for Phase

Description

Determine window of possible ray parameters for given phase.

Usage

FindPrange(phase, imodel, h, dangle)

Arguments

phase

Wave arrival phase (e.g., 'P' or 'ScS')

imodel

Planet model (improved by ImproveModel if possible)

h

Focal depth (km)

dangle

Angle resolution of output (deg)

Value

List with following elements:

angles

Vector of takeoff angles spaced 'dangle' apart in acceptable range (deg)

minangle

Minimum takeoff angle for 'phase'

maxangle

Maximum takeoff angle for 'phase'

Examples

Run this code
# NOT RUN {
data(model)
imodel = ImproveModel(model)$newmodel
FindPrange('P', imodel, 100, 10)

# }

Run the code above in your browser using DataLab