- SlownessModel.layer_number_below(depth, is_p_wave)¶
Find the index of the slowness layer that contains the given depth.
Note that if the depth is a layer boundary, it returns the deeper of the two or possibly more (since total reflections are zero thickness layers) layers.
The slowness layer containing the requested depth.
Return type: Raises SlownessModelError:
If no layer in the slowness model contains the given depth.