diff options
author | Dmitry Butyugin <dmbutyugin@google.com> | 2021-04-03 23:45:42 +0200 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2021-04-07 19:05:23 -0400 |
commit | 165d2fc2281798452c3f192b58fd2712e84bf1dd (patch) | |
tree | 95c65b39c4a16dba4748c8fc5fc8065ea00aea11 /scripts/calibrate_shaper.py | |
parent | bf01d6d1f8a95add76e5f8d93e7adf2da8658191 (diff) | |
download | kutter-165d2fc2281798452c3f192b58fd2712e84bf1dd.tar.gz kutter-165d2fc2281798452c3f192b58fd2712e84bf1dd.tar.xz kutter-165d2fc2281798452c3f192b58fd2712e84bf1dd.zip |
resonance_tester: Fixed multi-point resonance testing
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
Diffstat (limited to 'scripts/calibrate_shaper.py')
-rwxr-xr-x | scripts/calibrate_shaper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/calibrate_shaper.py b/scripts/calibrate_shaper.py index bd2d4308..5bbc9eea 100755 --- a/scripts/calibrate_shaper.py +++ b/scripts/calibrate_shaper.py @@ -45,12 +45,12 @@ def calibrate_shaper(datas, csv_output, max_smoothing): if isinstance(datas[0], CalibrationData): calibration_data = datas[0] for data in datas[1:]: - calibration_data.join(data) + calibration_data.add_data(data) else: # Process accelerometer data calibration_data = helper.process_accelerometer_data(datas[0]) for data in datas[1:]: - calibration_data.join(helper.process_accelerometer_data(data)) + calibration_data.add_data(helper.process_accelerometer_data(data)) calibration_data.normalize_to_frequencies() shaper, all_shapers = helper.find_best_shaper( calibration_data, max_smoothing, print) |