Source: GitHub
Signature¶
def sdynpy.signal_processing.sdynpy_srs.sdof_ramp_invariant_filter_weights(frequencies, sample_rate, damping, spectrum_type)Computes filter weights for SDOF resonators using a ramp-invariant filter.
The weights are used in conjunction with the function
sdof_filter and srs to calculate the shock response
spectrum of an acceleration time history using a ramp
invarient simulation.
Parameters¶
frequencies : np.ndarray The frequencies at which filters should be computed
sample_rate : float The sample rate of the measurement
damping : float The fraction of critical damping for the system (e.g. 0.03, not 3 for 3%)
spectrum_type : int See
spectrum_typeargument for compute_srs
Returns¶
b : np.ndarray Filter coefficients with shape (frequencies.shape,3)
a : np.ndarray Filter coefficients with shape (frequencies.shape,3)