obspy.taup.helper_classes.DepthRange

class DepthRange(top_depth=None, bot_depth=None, ray_param=-1)[source]

Bases: object

Convenience class for storing a depth range. It has a top and a bottom and can have an associated ray parameter.

Attributes

__dict__
__doc__
__module__
__weakref__ list of weak references to the object (if defined)

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

_from_array Create instance object from a structured array used in serialization.
_to_array Store all attributes for serialization in a structured array.

Special Methods

__dir__ Default dir() implementation.
__format__ Default object formatter.
__init__ Initialize self.
__init_subclass__ This method is called when a class is subclassed.
__new__ Create and return a new object.
__reduce__ Helper for pickle.
__reduce_ex__ Helper for pickle.
__sizeof__ Size of object in memory, in bytes.
__subclasshook__ Abstract classes can override this to customize issubclass().