seismic.synthetics package

Submodules

seismic.synthetics.synth module

Entry point for making synthetic seismograms.

seismic.synthetics.synth.example_usage()[source]
seismic.synthetics.synth.synthesize_dataset(method, output_file, net, sta, src_latlon, fs, time_window, **kwargs)[source]

User function for creating a synthetic seismogram dataset of obspy streams in HDF5 format. Datasets generated can be loaded into class NetworkEventDataset.

Parameters
  • method – ‘propmatrix’ or ‘syngine’

  • output_file – Destination file in which to write resultant streams in HDF5 format.

  • net – Network code of receiver

  • sta – Station code of receiver

  • src_latlon – Iterable of source event coordinates

  • fs – Sampling rate

  • time_window – Time window about onset. First value should be < 0, second should be > 0

Returns

Whether the dataset was successfully created.

Module contents