Created on Wed Feb 7 15:10:52 2018
@author: Filippo Broggini (ETH Zürich) - filippo.broggini@erdw.ethz.ch
Classes
AcousticModel (dx, vp, rho[, dy, dz]) |
Acoustic model. |
BaseModel (modeltype, dx, dy, dz) |
Base class for velocity and density models. |
serendipyty.seismic.model.models.
BaseModel
(modeltype, dx, dy, dz)[source]¶Bases: object
Base class for velocity and density models.
This is implemented as a function object, so the magic happens in the __call__ member function.
Attributes
n | (list of int) Dimensions in (x, y, z) |
ndim | (int) Number of dimensions |
Methods
__call__(self, t=None, nu=None, **kwargs) |
__weakref__
¶list of weak references to the object (if defined)
serendipyty.seismic.model.models.
AcousticModel
(dx, vp, rho, dy=None, dz=None)[source]¶Bases: serendipyty.seismic.model.models.BaseModel
Acoustic model.
Velocity and density models for an acoustic medium.
Parameters: | dx : float
dy : float, optional
dz : float, optional
vp : float, ndarray
rho : float, ndarray
|
---|
Methods
plot ([style]) |
Plot the model parameters. |