seisscan.prepare_traveltime_lookup_table
- seisscan.prepare_traveltime_lookup_table(min_dist_k, max_dist_k, step_dist_k, min_dep_k, max_dep_k, step_dep_k, phase, model_name='iasp91', dask_client=None)
Computes seismic wave travel time table.
It computes seismic waves travel times for a given epicentral distance range, depth range and 1-D earth model. These travel times are used by the backprojection program.
Parameters
- min_dist_k: float
Minimum epicentral distance (km).
- max_dist_k: float
Maximum epicentral distance (km).
- step_dist_k: float
Epicentral distance increment (km).
- min_dep_k: float
Minimum depth distance (km).
- max_dep_k: float
Maximum depth distance (km).
- step_dep_k: float
Depth increment (km).
- phase: str
Seismic phase name. “P” or “S”.
- model_name: str
1-D earth model name. Default is ‘iasp91’.
- dask_client: dask.Client
A dask client for parallel processing.
Returns
- dist_k_r1: numpy.ndarray of float
An array epicentral distances (km).
- dep_k_r1: numpy.ndarray of float
An array deths (km).
- tt_r2: numpy.ndarray of float
An travel times (seconds).
- computation_time: float
Total time (seconds) taken by the cmputation.