Learn R Programming

TauP.R (version 1.0)

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

  • newpCorrect ray parameter or NaN
  • newangleCorrect takeoff angle or NaN