mdof.transform module#
- mdof.transform.fdd(outputs, step, **options)#
Frequency Domain Decomposition [1] from output data.
- Parameters:
outputs (ND array.) – output response history. dimensions: \((p,nt)\), where \(p\) = number of outputs, and \(nt\) = number of timesteps
step (float) – timestep.
- Returns:
(frequencies,
`U`
,`S`
)- Return type:
tuple of arrays
References#
- mdof.transform.power_transfer(inputs, outputs, step, **options)#
Power spectrum transfer function from input and output data.
- Parameters:
inputs (1D array) – input time history.
outputs (1D array) – output response history.
step (float) – timestep.
decimation (int, optional) – decimation factor. default: 1
- Returns:
(periods, amplitudes)
- Return type:
tuple of arrays
- mdof.transform.response_transfer(inputs, outputs, step, **options)#
Response spectrum transfer function from input and output data.
- Parameters:
inputs (1D array) – input time history.
outputs (1D array) – output response history.
step (float) – timestep.
pseudo (bool, optional) – if True, uses pseudo accelerations. default: False
decimation (int, optional) – decimation factor. default: 1
- Returns:
(periods, amplitudes)
- Return type:
tuple of arrays
- mdof.transform.fourier_transfer(inputs, outputs, step, **options)#
Fourier spectrum transfer function from input and output data.
- Parameters:
inputs (1D array) – input time history.
outputs (1D array) – output response history.
step (float) – timestep.
decimation (int, optional) – decimation factor. default: 1
- Returns:
(periods, amplitudes)
- Return type:
tuple of arrays
- mdof.transform.power_spectrum(series, step, period_band=None, **options)#
Power spectrum of a signal, as a function of period (i.e., periodogram).
- Parameters:
series (1D array) – time series.
step (float) – timestep.
period_band (tuple, optional) – minimum and maximum period of interest, in seconds.
- Returns:
(periods, amplitudes)
- Return type:
tuple of arrays.
- mdof.transform.fourier_spectrum(series, step, period_band=None, **options)#
Fourier amplitude spectrum of a signal, as a function of period.
- Parameters:
series (1D array) – time series.
step (float) – timestep.
period_band (tuple, optional) – minimum and maximum period of interest, in seconds.
- Returns:
(periods, amplitudes)
- Return type:
tuple of arrays.