obspy.taup.tau.Arrivals
- class Arrivals(arrivals, model)[source]
Bases:
list
List like object of arrivals returned by
TauPyModel
methods.- Parameters
model (
TauPyModel
) – The model used to calculate the arrivals.
Attributes
Public Methods
Remove all items from list. |
|
Return number of occurrences of value. |
|
Extend list by appending elements from the iterable. |
|
Return first index of value. |
|
Insert object before index. |
|
Plot ray paths if any have been calculated. |
|
Plot ray paths if any have been calculated. |
|
Plot arrival times if any have been calculated. |
|
Remove and return item at index (default last). |
|
Remove first occurrence of value. |
|
Reverse IN PLACE. |
|
Sort the list in ascending order and return None. |
Special Methods
- Arrivals.__class_getitem__()
See PEP 585
- Arrivals.__contains__(key, /)
Return key in self.
- Arrivals.__delattr__(name, /)
Implement delattr(self, name).
- Arrivals.__delitem__(key, /)
Delete self[key].
- Arrivals.__dir__()
Default dir() implementation.
- Arrivals.__eq__(value, /)
Return self==value.
- Arrivals.__format__(format_spec, /)
Default object formatter.
- Arrivals.__ge__(value, /)
Return self>=value.
- Arrivals.__getattribute__(name, /)
Return getattr(self, name).
- Arrivals.__gt__(value, /)
Return self>value.
- Arrivals.__init_subclass__()
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- Arrivals.__iter__()
Implement iter(self).
- Arrivals.__le__(value, /)
Return self<=value.
- Arrivals.__len__()
Return len(self).
- Arrivals.__lt__(value, /)
Return self<value.
- Arrivals.__ne__(value, /)
Return self!=value.
- Arrivals.__new__(**kwargs)
- Arrivals.__reduce__()
Helper for pickle.
- Arrivals.__reduce_ex__(protocol, /)
Helper for pickle.
- Arrivals.__reversed__()
Return a reverse iterator over the list.
- Arrivals.__rmul__(value, /)
Return value*self.
- Arrivals.__setattr__(name, value, /)
Implement setattr(self, name, value).
- Arrivals.__sizeof__()
Return the size of the list in memory, in bytes.
- Arrivals.__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).