powered by
Calculates a travel time given a phase, focal depth, model, and ray parameter.
FindTime4p(phase, h, p, model, anglemode = "rayparm", takeoff = NULL)
Arrival phase (e.g. 'P', 'SKS')
Focal depth (km)
Ray Parameter (s/deg)
Planet model
One of 'rayparm' (if the input ray parameter is to be used) or 'angle' (if the input takeoff angle is to be used)
Takeoff angle (deg)
Phase travel time (s)
Vertex radius (km)
Ray parameter (s/deg)
'takeoff' and 'p' must be scalars--unlike many of the other functions provided, FindTime4p is not vectorized.
Traveltime, FindDist4pn
# NOT RUN { data(model) FindTime4p('P', 100, 6, model) FindTime4p('P', 100, NaN, model, anglemode = 'angle', 40) # }
Run the code above in your browser using DataLab