obspy.taup.helper_classes.SplitLayerInfo

class SplitLayerInfo(s_mod, needed_split, moved_sample, ray_param)

Bases: tuple

Attributes

moved_sample

Alias for field number 2

needed_split

Alias for field number 1

ray_param

Alias for field number 3

s_mod

Alias for field number 0

Public Methods

count

Return number of occurrences of value.

index

Return first index of value.

Private Methods

Warning

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

SplitLayerInfo._asdict()

Return a new dict which maps field names to their values.

classmethod SplitLayerInfo._make(iterable)

Make a new SplitLayerInfo object from a sequence or iterable

SplitLayerInfo._replace(**kwds)

Return a new SplitLayerInfo object replacing specified fields with new values

Special Methods

SplitLayerInfo.__add__(value, /)

Return self+value.

SplitLayerInfo.__class_getitem__()

See PEP 585

SplitLayerInfo.__contains__(key, /)

Return key in self.

SplitLayerInfo.__delattr__(name, /)

Implement delattr(self, name).

SplitLayerInfo.__dir__()

Default dir() implementation.

SplitLayerInfo.__eq__(value, /)

Return self==value.

SplitLayerInfo.__format__(format_spec, /)

Default object formatter.

SplitLayerInfo.__ge__(value, /)

Return self>=value.

SplitLayerInfo.__getattribute__(name, /)

Return getattr(self, name).

SplitLayerInfo.__getitem__(key, /)

Return self[key].

SplitLayerInfo.__getnewargs__()

Return self as a plain tuple. Used by copy and pickle.

SplitLayerInfo.__gt__(value, /)

Return self>value.

SplitLayerInfo.__hash__()

Return hash(self).

SplitLayerInfo.__init__()
SplitLayerInfo.__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

SplitLayerInfo.__iter__()

Implement iter(self).

SplitLayerInfo.__le__(value, /)

Return self<=value.

SplitLayerInfo.__len__()

Return len(self).

SplitLayerInfo.__lt__(value, /)

Return self<value.

SplitLayerInfo.__mul__(value, /)

Return self*value.

SplitLayerInfo.__ne__(value, /)

Return self!=value.

static SplitLayerInfo.__new__(_cls, s_mod, needed_split, moved_sample, ray_param)

Create new instance of SplitLayerInfo(s_mod, needed_split, moved_sample, ray_param)

SplitLayerInfo.__reduce__()

Helper for pickle.

SplitLayerInfo.__reduce_ex__(protocol, /)

Helper for pickle.

SplitLayerInfo.__repr__()

Return a nicely formatted representation string

SplitLayerInfo.__rmul__(value, /)

Return value*self.

SplitLayerInfo.__setattr__(name, value, /)

Implement setattr(self, name, value).

SplitLayerInfo.__sizeof__()

Size of object in memory, in bytes.

SplitLayerInfo.__str__()

Return str(self).

SplitLayerInfo.__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).