Source: GitHub
Signature¶
class sdynpy.signal_processing.sdynpy_srs.SelectedRealization(index: int, time: numpy.ndarray, xc: numpy.ndarray, rr: numpy.ndarray, srs: numpy.ndarray, metrics: sdynpy.signal_processing.sdynpy_srs.WindowedRandomMetrics) -> NoneOne realization selected from an ensemble.
Parameters¶
index : int Zero-based index of the selected realization.
time : ndarray Time vector with shape
(n_samples,).xc : ndarray Compensated windowed acceleration history with shape
(n_samples,).rr : ndarray Stationary random acceleration history with shape
(n_samples,).srs : ndarray Shock response spectrum of the selected realization with shape
(n_freq, 2), where the first column is frequency and the second is SRS amplitude.metrics : WindowedRandomMetrics Scalar metrics associated with the selected realization.
Methods¶
| Name | Summary |
|---|---|
__init__ | Initialize self. See help(type(self)) for accurate signature. |
__init__¶
def sdynpy.signal_processing.sdynpy_srs.SelectedRealization.__init__(self, index: int, time: numpy.ndarray, xc: numpy.ndarray, rr: numpy.ndarray, srs: numpy.ndarray, metrics: sdynpy.signal_processing.sdynpy_srs.WindowedRandomMetrics) -> NoneInitialize self. See help(type(self)) for accurate signature.