resonance_tester: Support testing resonances over Z axis
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
This commit is contained in:
1 parent
caf7accf2d
commit
ec82cee7fc
3 files changed
+117
-36
No files matched your search
@@ -77,6 +77,9 @@ def calibrate_shaper(datas, csv_output, *, shapers, damping_ratio, scv,
|
||||
|
||||
def plot_freq_response(lognames, calibration_data, shapers,
|
||||
selected_shaper, max_freq):
|
||||
max_freq_bin = calibration_data.freq_bins.max()
|
||||
if max_freq > max_freq_bin:
|
||||
max_freq = max_freq_bin
|
||||
freqs = calibration_data.freq_bins
|
||||
psd = calibration_data.psd_sum[freqs <= max_freq]
|
||||
px = calibration_data.psd_x[freqs <= max_freq]
|
||||
|
||||
Reference in new issue
Block a user