Created on Wed Feb 7 15:10:52 2018
@author: Filippo Broggini (ETH Zürich) - filippo.broggini@erdw.ethz.ch
Classes
BaseSource(**kwargs) |
Base class for representing a source emitter on a grid. |
PointSource(loc, wavelet[, mode]) |
Subclass of BaseSource for representing a point source emitter on a grid. |
serendipyty.seismic.input.sources.BaseSource(**kwargs)[source]¶Bases: object
Base class for representing a source emitter on a grid.
Methods
plot([tmax, aspect, style, figsize]) |
Plot the source wavelet. |
set_shot(shot) |
plot(tmax=None, aspect='auto', style='wavelet', figsize=None)[source]¶Plot the source wavelet.
| Parameters: | tmax : float
aspect: float, ‘auto’, ‘equal’
style: str
|
|---|
__weakref__¶list of weak references to the object (if defined)
serendipyty.seismic.input.sources.PointSource(loc, wavelet, mode='q')[source]¶Bases: serendipyty.seismic.input.sources.BaseSource
Subclass of BaseSource for representing a point source emitter on a grid.
| Parameters: | loc : float, ndarray
wavelet : BaseWavelet
mode : string, optional
**kwargs : dict, optional
|
|---|
Methods
plot([tmax, aspect, style, figsize]) |
Plot the source wavelet. |
set_shot(shot) |