mtuq.GreensTensorList

class mtuq.GreensTensorList(tensors=[], id=None, tags=[])[source]

Bases: list

Container for one or more GreensTensor objects

Public Methods

append

Appends GreensTensor to the container

apply

Applies function to all GreensTensors

convolve

Convolves time series with given wavelet

copy

Return a shallow copy of the list.

get_synthetics

Generates synthetics through a linear combination of time series

map

Maps function to all GreensTensors

parallel_map

Version of map parallelized using mpi4py

select

Selects GreensTensors that match the given station or origin

sort_by_azimuth

Sorts in-place by source-receiver azimuth

sort_by_distance

Sorts in-place by hypocentral distance

sort_by_function

Sorts in-place by user-supplied function

tag_add

Appends string to tags list

tag_remove

Removes string from tags list

write

Writes a Python pickle of current GreensTensorList