Commit Graph
59 Commits
Author SHA1 Message Date
aweandClaude Opus 4.8 e219f6ec02 Add laser temperature monitoring for current-variation runs
Independent monitor + checker for CHANGE_CURRENT_LD1 variation, where the
board sweeps LD1 current autonomously while both laser temperatures must stay
on their static setpoints. Nothing previously verified that the setpoints were
actually reached, so a stale temperature silently corrupted measurements.

New package python_app/hardware_full/laser_control/monitoring/:
- session.py: LaserVariationSession snapshot (targets + tolerance frozen at start)
- readings_channel.py: JSONL append/tail channel for per-sweep readings
- monitor.py: LaserTemperatureMonitor polls the board once per sweep, publishes
- checker.py: LaserTemperatureChecker validates temp1/temp2 vs targets (0.03 C),
  warns to console per laser with anti-spam state

CLI entry points scripts/laser_temp_monitor.py and scripts/laser_temp_checker.py
run as independent processes communicating via IPC files.

Also: add temp_tolerance_c to LaserVariationModeModel (schema + codec round-trip)
and write the session snapshot from apply_kamil_adc_laser_control's variation path
so the checker works with pipeline-started runs too.

Tests in tests/test_laser_temp_monitoring.py (17 cases); existing laser-control
protocol and config-codec suites remain green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-27 21:41:14 +03:00
awe 52c1218bf7 Independent monitor + checker for CHANGE_CURRENT_LD1 variation 2026-07-27 16:24:58 +03:00
Ayzen 3efe968dd1 some kamil_adc fixes 2026-07-02 17:44:24 +03:00
Ayzen 42532c9868 added new filtration and fixed processing parameters 2026-06-23 21:55:40 +03:00
Ayzen 4ca4b27246 new libreVNA config 2026-06-23 19:11:59 +03:00
BogatskiyG f967da7f53 added a warning line in GUI and WEBUI 2026-06-23 18:30:20 +03:00
BogatskiyG 9d30fab534 Merge branch 'some-additions'
export reference png added
2026-06-23 14:01:08 +03:00
BogatskiyG d522828875 some fixes 2026-06-23 13:52:31 +03:00
BogatskiyG 02bbe83446 added reference png export 2026-06-23 12:34:48 +03:00
Ayzen 8db14b9482 added data saving feature 2026-06-23 12:19:31 +03:00
Ayzen 716fd0b07a microfix 2026-06-22 17:33:15 +03:00
Ayzen d7ddca6e76 added diagnostics 2026-06-22 16:30:55 +03:00
Ayzen 7c381facaf some fixes 2026-06-22 15:01:26 +03:00
Ayzen e7f2d25585 new gpr 2026-06-13 12:07:23 +03:00
Ayzen f0d095de80 new GPR 2026-06-11 19:51:30 +03:00
Ayzen 9661504e51 new kamil adc 2026-06-11 13:02:02 +03:00
Ayzen 21f76d7cd2 some webUI fixes 2026-06-10 14:39:25 +03:00
Ayzen c12ae05148 some fixes 2026-06-06 02:07:46 +03:00
Ayzen b3a8cd834f some fixes 2026-06-06 01:42:18 +03:00
Ayzen 69a96e4c26 improved readme 2026-06-06 00:57:53 +03:00
Ayzen aea49f6128 improved logging 2026-06-06 00:52:52 +03:00
Ayzen af6005d68f web UI added and refactoring done 2026-06-06 00:06:30 +03:00
Ayzen 3c30a12d4a some fixes again 2026-06-05 17:50:59 +03:00
Ayzen bbea744459 some fixes 2026-06-05 14:40:10 +03:00
Ayzen 22942d9dc9 some fixes 2026-06-04 18:33:38 +03:00
Ayzen eacea436a4 some fixes and improvements 2026-05-28 14:33:12 +03:00
Ayzen 83a934f251 added timing 2026-05-26 15:08:56 +03:00
AYZEN 5b480f1b55 sn9000 support 2026-05-20 16:20:34 +03:00
AYZEN ae7ea9f1f9 added sn9000 support 2026-05-20 16:20:24 +03:00
Ayzen 1c544aa582 added median sweep and fixed multi device issue 2026-05-20 16:52:06 +03:00
Ayzen 0da8b1283c working version 2026-05-18 17:27:00 +03:00
Ayzen 907dbf29ce kamil_adc support added 2026-05-08 21:23:52 +03:00
Ayzen bde86813e5 first attempt at radioradar 2026-05-06 18:15:50 +03:00
Ayzen cf3f3cbd67 fixed UI 2026-05-06 16:08:24 +03:00
Ayzen cb4ba861d9 added tmp reference capture 2026-05-06 14:45:57 +03:00
Ayzen 1b7d9e417d added legacy gpr 2026-05-06 11:54:59 +03:00
Ayzen e86f30023e new gpr 2026-05-05 15:45:52 +03:00
Ayzen 5a70235ef3 added remote k209 setup 2026-04-29 16:32:39 +03:00
Ayzen e05c06bcbe added k209 driver 2026-04-29 15:20:56 +03:00
Ayzen 1ea2aabf87 added multidevice support 2026-04-28 17:29:21 +03:00
Ayzen 93c705a33b added device firmware 2026-04-28 16:23:27 +03:00
Ayzen 5d2f95f959 added white theme, some features to processing and saving 2026-04-13 10:44:01 +03:00
Ayzen 61685d7a4d multi config calibration added 2026-04-09 00:48:23 +03:00
Ayzen 1d7d0a756e some refactoring and socket server added 2026-04-08 18:43:29 +03:00
Ayzen 202993325d new GPR parameters and some UI fixes 2026-04-07 12:55:26 +03:00
Ayzen 4b78c2808d added gpr speed tracking 2026-04-01 22:05:04 +03:00
Ayzen 669205d8f8 UI updates 2026-04-01 20:21:16 +03:00
Ayzen 4abc95c372 added generator mode 2026-04-01 13:00:01 +03:00
Ayzen 43d1c226a1 gui small fix 2026-03-27 11:21:44 +03:00
Ayzen cd13a891ca bscan added s11 2026-03-26 18:47:07 +03:00