obspy.taup.tau.Arrivals

class Arrivals(arrivals, model)[source]

Bases: list

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

__doc__

__hash__

__module__

__slots__

model

Public Methods

append

Append object to the end of the list.

clear

Remove all items from list.

copy

Return a shallow copy of the list.

count

Return number of occurrences of value.

extend

Extend list by appending elements from the iterable.

index

Return first index of value.

insert

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

Remove and return item at index (default last).

remove

Remove first occurrence of value.

reverse

Reverse IN PLACE.

sort

Stable sort IN PLACE.

Special Methods

__add__

Return self+value.

__dir__

Default dir() implementation.

__format__

Default object formatter.

__getitem__

x.__getitem__(y) <==> x[y]

__getslice__

__iadd__

Implement self+=value.

__imul__

Implement self*=value.

__init__

Initialize self.

__init_subclass__

This method is called when a class is subclassed.

__mul__

Return self*value.

__new__

Create and return a new object.

__reduce__

Helper for pickle.

__reduce_ex__

Helper for pickle.

__repr__

Return repr(self).

__reversed__

Return a reverse iterator over the list.

__setitem__

Set self[key] to value.

__setslice__

__sizeof__

Return the size of the list in memory, in bytes.

__str__

Return str(self).

__subclasshook__

Abstract classes can override this to customize issubclass().