- class SlownessModel(v_mod, min_delta_p=0.1, max_delta_p=11, max_depth_interval=115, max_range_interval=0.04363323129985824, max_interp_error=0.05, allow_inner_core_s=True, slowness_tolerance=1e-16, skip_model_creation=False)¶
Storage and methods for generating slowness-depth pairs.
__dict__ __doc__ str(object=’‘) -> str __module__ str(object=’‘) -> str __weakref__ list of weak references to the object (if defined)
addSlowness DEPRECATED: ‘addSlowness’ has been renamed to add_slowness Add a ray parameter to the slowness sampling for the given wave type. approxDistance DEPRECATED: ‘approxDistance’ has been renamed to approx_distance Approximate distance for ray turning at the bottom of a layer. coarseSample DEPRECATED: ‘coarseSample’ has been renamed to coarse_sample Create a coarse slowness sampling of the velocity model (v_mod). createSample DEPRECATED: ‘createSample’ has been renamed to create_sample Create slowness-depth layers from a velocity model. depthInFluid DEPRECATED: ‘depthInFluid’ has been renamed to depthInHighSlowness DEPRECATED: ‘depthInHighSlowness’ has been renamed to depthIncCheck DEPRECATED: ‘depthIncCheck’ has been renamed to depth_in_fluid Determine if the given depth is contained within a fluid zone. depth_in_high_slowness Determine if depth and slowness are within a high slowness zone. depth_inc_check Check that no slowness layer is too thick. distanceCheck DEPRECATED: ‘distanceCheck’ has been renamed to distance_check Check that no slowness layer is too wide or undersampled. findCriticalPoints DEPRECATED: ‘findCriticalPoints’ has been renamed to findDepth_from_depths DEPRECATED: ‘findDepth_from_depths’ has been renamed to findDepth_from_layers DEPRECATED: ‘findDepth_from_layers’ has been renamed to find_critical_points Find all critical points within a velocity model. find_depth_from_depths Find depth corresponding to a slowness between two given depths. find_depth_from_layers Find depth corresponding to a slowness p between two velocity layers. fixCriticalPoints DEPRECATED: ‘fixCriticalPoints’ has been renamed to fix_critical_points Reset the slowness layers that correspond to critical points. getMinRayParam DEPRECATED: ‘getMinRayParam’ has been renamed to getMinTurnRayParam DEPRECATED: ‘getMinTurnRayParam’ has been renamed to getNumLayers DEPRECATED: ‘getNumLayers’ has been renamed to getSlownessLayer DEPRECATED: ‘getSlownessLayer’ has been renamed to get_min_ray_param Find minimum slowness, turning or reflected, at or above a depth. get_min_turn_ray_param Find minimum slowness, turning but not reflected, at or above a depth. get_num_layers Number of slowness layers. get_slowness_layer Return the Slowness_layer of the requested wave type. interpolate Interpolate slowness to depth within a layer. layerNumberAbove DEPRECATED: ‘layerNumberAbove’ has been renamed to layerNumberBelow DEPRECATED: ‘layerNumberBelow’ has been renamed to layerTimeDist DEPRECATED: ‘layerTimeDist’ has been renamed to layer_number_above Find the index of the slowness layer that contains the given depth. layer_number_below Find the index of the slowness layer that contains the given depth. layer_time_dist Calculate time and distance for a ray passing through a layer. ray_paramIncCheck DEPRECATED: ‘ray_paramIncCheck’ has been renamed to ray_param_inc_check Check that no slowness layer’s ray parameter interval is too large. splitLayer DEPRECATED: ‘splitLayer’ has been renamed to split_layer Split a slowness layer into two slowness layers. toSlowness DEPRECATED: ‘toSlowness’ has been renamed to to_slowness Convert velocity at some depth to slowness. validate Perform consistency check on the slowness model.
Private methods are mainly for internal/developer use and their API might change without notice.
_fix_other_layers Fix other wave layers when a split is made.
__dir__ default dir() implementation __format__ default object formatter __init__ __new__ Create and return a new object. __reduce__ helper for pickle __reduce_ex__ helper for pickle __sizeof__ size of object in memory, in bytes __str__ __subclasshook__ Abstract classes can override this to customize issubclass().