powered by
Calculates ray parameter and takeoff angle to reach given epicentral distances. Including a pscan improves speed if you already have it, but is not necessary.
FindP4Dist(phase, deltalist, h, model, pscan = NULL)
Wave arrival phase (e.g. 'P', 'SKS')
Vector of epicentral distances (degrees)
Focal depth (km)
Planet model
Output of MakePscan
List with following values:
Vector of ray parameters (s/deg)
Vector of takeoff angles (deg)
Vector of corresponding epicentral distances (deg)
Vector of target epicentral distances (deg)
# NOT RUN { data(model) FindP4Dist('P', 60, 100, model) # }
Run the code above in your browser using DataLab