pystrata.motion.CompatibleRvtMotion¶
- class pystrata.motion.CompatibleRvtMotion(osc_freqs, osc_accels_target, duration=None, osc_damping=0.05, event_kwds=None, window_len=None, peak_calculator=None, calc_kwds=None)[source]¶
RVT motion based on user specified acceleration response spectrum and duration.
- __init__(osc_freqs, osc_accels_target, duration=None, osc_damping=0.05, event_kwds=None, window_len=None, peak_calculator=None, calc_kwds=None)[source]¶
Initialize the motion.
- Parameters:
osc_freqs (array_like) – Frequencies of the oscillator response (Hz).
osc_accels_target (array_like) – Spectral acceleration of the oscillator at the specified frequencies (g).
duration (float, optional) – Duration of the ground motion (sec). If None, then the duration is computed using the event_kwds.
osc_damping (float, optional) – Fractional damping of the oscillator (dec). Default value is 0.05 for a damping ratio of 5%.
event_kwds (Dict, optional) – Keywords passed to
SourceTheoryMotionand used to compute the duration of the motion. Either duration or event_kwds should be specified.window_len (int, optional) – Window length used for smoothing the computed Fourier amplitude spectrum. If None, then no smoothing is applied. The smoothing is applied as a moving average with a width of window_len.
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.
Methods
__init__(osc_freqs, osc_accels_target[, ...])Initialize the motion.
calc_attenuation(min_freq[, max_freq])Compute the site attenuation (κ) based on a log-linear fit.
calc_osc_accels(osc_freqs[, osc_damping, ...])Pseudo-acceleration spectral response of an oscillator.
calc_peak([transfer_func])Compute the peak response.
Attributes
angular_freqsarias_intensityArias intensity [m/s].
cavCumulative absolute velocity [m/s].
durationDuration of the ground motion for RVT analysis.
fourier_ampsAcceleration Fourier amplitude values (g-sec).
freqsFrequency values (Hz).
pgaPeak ground acceleration [g]
pgvPeak ground velocity [cm/sec].