obspy.taup.tau.Arrivals¶
- class Arrivals(arrivals, model)[source]¶
Bases: future.types.newlist.newlist
List like object of arrivals returned by TauPyModel methods.
Parameters: - arrivals (list of Arrival) Initial arrivals to store.
- model (TauPyModel) The model used to calculate the arrivals.
Attributes
__dict__ __doc__ unicode(object=’‘) -> unicode object __hash__ __module__ str(object=’‘) -> string __slots__ list() -> new empty list __weakref__ list of weak references to the object (if defined) model Public Methods
append clear copy count extend L.extend(iterable) extend list by appending elements from the iterable index Raises ValueError if the value is not present. insert L.insert(index, object) insert object before index plot Plot ray paths if any have been calculated. plot_rays Plot ray paths if any have been calculated. plot_times Plot arrival times if any have been calculated. pop Raises IndexError if list is empty or index is out of range. remove L.remove(value) remove first occurrence of value. reverse L.reverse() reverse IN PLACE sort L.sort(cmp=None, key=None, reverse=False) stable sort IN PLACE; Special Methods
__add__ __format__ default object formatter __getitem__ __getslice__ __iadd__ __imul__ __init__ __mul__ __native__ Hook for the future.utils.native() function __new__ list() -> new empty list __nonzero__ __radd__ left + self __reduce__ helper for pickle __reduce_ex__ helper for pickle __repr__ __reversed__ L.__reversed__() return a reverse iterator over the list __setitem__ __setslice__ __sizeof__ L.__sizeof__() size of L in memory, in bytes __str__ __subclasshook__ Abstract classes can override this to customize issubclass().