diff --git a/backend/scripts/ahrs_calibration.py b/backend/scripts/ahrs_calibration.py index ed46298d1e50675b3af0685378a6f41d16a61c06..65e241a87161fdf651e1af3a4f7c954fae825af5 100755 --- a/backend/scripts/ahrs_calibration.py +++ b/backend/scripts/ahrs_calibration.py @@ -42,6 +42,7 @@ register_matplotlib_converters() import km3db import km3pipe as kp from km3pipe.io.daq import TMCHData +from km3modules.common import MemoryObserver from km3modules.ahrs import fit_ahrs, get_latest_ahrs_calibration import km3pipe.style @@ -203,6 +204,7 @@ def main(): ligier_port = int(args["-p"]) pipe = kp.Pipeline() + pipe.attach(MemoryObserver, every=600000) pipe.attach( kp.io.ch.CHPump, host=ligier_ip,