pystrata.motion.SourceTheoryRvtMotion

class pystrata.motion.SourceTheoryRvtMotion(magnitude: float, distance: float, region: str | None = None, depth: float | None = 8, peak_calculator: str | Calculator | None = None, calc_kwds: dict | None = None, freqs: ndarray | None = None, disable_site_amp: bool = False, **kwargs)[source]

RVT motion based on seismological point source model and earthquake scenario parameters.

__init__(magnitude: float, distance: float, region: str | None = None, depth: float | None = 8, peak_calculator: str | Calculator | None = None, calc_kwds: dict | None = None, freqs: ndarray | None = None, disable_site_amp: bool = False, **kwargs)[source]

Initialize the motion.

Parameters:
  • magnitude (float) – Moment magnitude of the event.

  • distance (float) – Epicentral distance (km).

  • region (str) – Region for the parameters. Either ‘cena’ for Central and Eastern North America, or ‘wna’ for Western North America.

  • stress_drop (float, optional) – Stress drop of the event (bars). If None, then the default value is used. For region is ‘cena’, the default value is computed by the model, while for region is ‘wna’ the default value is 100 bars.

  • depth (float, optional) – Hypocenter depth (km). The depth is combined with the distance to compute the hypocentral distance.

  • peak_calculator (Calculator, optional) – Peak calculator to use. If None, then the default peak calculator is used. The peak calculator may either be specified by a [pyrvt.peak_calculators.Calculator][] object, or by the initials of the calculator using [pyrvt.peak_calculators.get_peak_calculator][].

  • calc_kwds (dict, optional) – Keywords to be passed during the creation the peak calculator. These keywords are only required for some peak calculators.

  • freqs (array_like) – frequencies for which the Fourier amplitude spectrum should be computed. Defaults to np.geomspace(0.05, 200, 512)

  • disable_site_amp (bool, optional) – if the crustal site amplification should be disable. Defaults to False.

Methods

__init__(magnitude, distance[, region, ...])

Initialize the motion.

calc_attenuation(min_freq[, max_freq])

Compute the site attenuation (κ) based on a log-linear fit.

calc_duration()

Compute the duration by combination of source and path.

calc_fourier_amps([freqs])

Compute the acceleration Fourier amplitudes for a frequency range.

calc_osc_accels(osc_freqs[, osc_damping, ...])

Pseudo-acceleration spectral response of an oscillator.

calc_peak([transfer_func])

Compute the peak response.

Attributes

angular_freqs

arias_intensity

Arias intensity [m/s].

cav

Cumulative absolute velocity [m/s].

duration

Duration of the ground motion for RVT analysis.

fourier_amps

Acceleration Fourier amplitude values (g-sec).

freqs

Frequency values (Hz).

pga

Peak ground acceleration [g]

pgv

Peak ground velocity [cm/sec].