Learn R Programming

TauP.R (version 1.5)

HoneP: Hone Ray Parameter

Description

Refines ray parameter to help correct numerical inaccuracies. The indicated phase exists for the output ray parameter, but might not for the input.

Usage

HoneP(oldp, oldangle, direction, phase, h, model)

Arguments

oldp

Ray parameter to be honed (s/deg)

oldangle

Takeoff angle to be honed (deg)

direction

Search direction: 'up', 'down', or 'both'

phase

Arrival phase: (e.g. 'PP', 'SKS')

h

Focal depth

model

Planet model

Value

newp

Correct ray parameter or NaN

newangle

Correct takeoff angle or NaN

Examples

Run this code
# NOT RUN {
### not a user routine

# }

Run the code above in your browser using DataLab