Ellipticity

class disba.RayleighEllipticity(period, ellipticity, mode)

Create new instance of RayleighEllipticity(period, ellipticity, mode)

ellipticity

Alias for field number 1

mode

Alias for field number 2

period

Alias for field number 0

Ellipticity

class disba.Ellipticity(thickness, velocity_p, velocity_s, density, algorithm='dunkin', dc=0.005)[source]

Ellipticity class (only Rayleigh-wave).

Parameters
  • thickness (array_like) – Layer thickness (in km).

  • velocity_p (array_like) – Layer P-wave velocity (in km/s).

  • velocity_s (array_like) – Layer S-wave velocity (in km/s).

  • density (array_like) – Layer density (in g/cm3).

  • algorithm (str {'dunkin', 'fast-delta'}, optional, default 'dunkin') –

    Algorithm to use for computation of Rayleigh-wave dispersion:
    • ’dunkin’: Dunkin’s matrix (adapted from surf96),

    • ’fast-delta’: fast delta matrix (after Buchen and Ben-Hador, 1996).

  • dc (scalar, optional, default 0.005) – Phase velocity increment for root finding.

__call__(t, mode=0)[source]

Compute Rayleigh-wave ellipticity for input period axis and mode.

Parameters
  • t (array_like) – Periods (in s).

  • mode (int, optional, default 0) – Mode number (0 if fundamental).

Returns

Rayleigh-wave ellipticity as a namedtuple (period, ellipticity, mode).

Return type

disba.RayleighEllipticity

property algorithm

Return algorithm to use for computation of Rayleigh-wave dispersion.

property dc

Return phase velocity increment for root finding.

property density

Return layer density (in g/cm3).

resample(dz)

Resample velocity model.

Parameters

dz (scalar) – Maximum layer thickness (in km).

property thickness

Return layer thickness (in km).

property velocity_p

Return layer P-wave velocity (in km/s).

property velocity_s

Return layer S-wave velocity (in km/s).