From 8b58aa130294994571b365b83c6364f930a03244 Mon Sep 17 00:00:00 2001 From: Timofey Titovets Date: Mon, 24 Nov 2025 21:46:58 +0100 Subject: [PATCH] probe_eddy_current: show noise at distinct calibration points Signed-off-by: Timofey Titovets --- klippy/extras/probe_eddy_current.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/klippy/extras/probe_eddy_current.py b/klippy/extras/probe_eddy_current.py index 4dc46e413..779a904fb 100644 --- a/klippy/extras/probe_eddy_current.py +++ b/klippy/extras/probe_eddy_current.py @@ -195,6 +195,13 @@ class EddyCalibration: freq_list = [freq for _, freq, _, _ in filtered] freq_diff = max(freq_list) - min(freq_list) gcode.respond_info("Total frequency range: %.3f Hz\n" % (freq_diff)) + points = [0.25, 0.5, 1.0, 2.0, 3.0] + for pos, _, mad_hz, mad_mm in filtered: + if len(points) and points[0] <= pos: + points.pop(0) + msg = "z_offset: %.3f # noise %.6fmm, MAD_Hz=%.3f\n" % ( + pos, mad_mm, mad_hz) + gcode.respond_info(msg) return filtered def post_manual_probe(self, kin_pos): if kin_pos is None: