diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/calibrate_shaper.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/calibrate_shaper.py b/scripts/calibrate_shaper.py index ad5c1dfd..74e34c94 100755 --- a/scripts/calibrate_shaper.py +++ b/scripts/calibrate_shaper.py @@ -100,9 +100,10 @@ def plot_freq_response(lognames, calibration_data, shapers, ax2.set_ylabel('Shaper vibration reduction (ratio)') best_shaper_vals = None for shaper in shapers: - label = "%s (%.1f Hz, vibr=%.1f%%, sm~=%.2f)" % ( + label = "%s (%.1f Hz, vibr=%.1f%%, sm~=%.2f, accel<=%.f)" % ( shaper.name.upper(), shaper.freq, - shaper.vibrs * 100., shaper.smoothing) + shaper.vibrs * 100., shaper.smoothing, + round(shaper.max_accel / 100.) * 100.) linestyle = 'dotted' if shaper.name == selected_shaper: linestyle = 'dashdot' |