open_air fixed

This commit is contained in:
mipt-user
2025-10-04 15:29:29 +03:00
parent 9f42987c22
commit c16c90cdfd
6 changed files with 4046 additions and 8 deletions

View File

@ -0,0 +1,16 @@
{
"preset": {
"filename": "s21_start100_stop8800_points1000_bw1khz.bin",
"mode": "s21",
"start_freq": 100000000.0,
"stop_freq": 8800000000.0,
"points": 1000,
"bandwidth": 1000.0
},
"calibration_name": "through_red_plus_angles",
"standards": [
"through"
],
"created_timestamp": "2025-10-03T18:25:49.180426",
"is_complete": true
}

View File

@ -0,0 +1,16 @@
{
"preset": {
"filename": "s21_start100_stop8800_points1000_bw1khz.bin",
"mode": "s21",
"start_freq": 100000000.0,
"stop_freq": 8800000000.0,
"points": 1000,
"bandwidth": 1000.0
},
"calibration_name": "through_red_plus_angles",
"standard": "through",
"sweep_number": 14,
"sweep_timestamp": 1759505103.5223773,
"created_timestamp": "2025-10-03T18:25:49.175863",
"total_points": 1000
}

View File

@ -1,10 +1,9 @@
{ {
"open_air": true, "open_air": false,
"axis": "real", "axis": "real",
"data_limitation": "ph_only_1", "cut": 0.0,
"cut": 0.816, "max": 1.4,
"max": 3.8, "gain": 1.0,
"gain": 0.0,
"start_freq": 100.0, "start_freq": 100.0,
"stop_freq": 8800.0, "stop_freq": 8800.0,
"clear_history": false, "clear_history": false,

View File

@ -1,5 +1,5 @@
{ {
"y_min": -80, "y_min": -30,
"y_max": 40, "y_max": 10,
"show_phase": true "show_phase": true
} }

View File

@ -215,7 +215,7 @@ class ProcessorManager:
if latest and latest.sweep_number > self._last_processed_sweep: if latest and latest.sweep_number > self._last_processed_sweep:
calibrated = self._apply_calibration(latest) calibrated = self._apply_calibration(latest)
vna_cfg = self.settings_manager.get_current_preset() vna_cfg = self.settings_manager.get_current_preset()
reference_data = self.settings_manager.get_current_reference_sweep(vna_cfg) reference_data = self._apply_calibration(self.settings_manager.get_current_reference_sweep(vna_cfg))
self.process_sweep(latest, calibrated, vna_cfg, reference_data) self.process_sweep(latest, calibrated, vna_cfg, reference_data)
self._last_processed_sweep = latest.sweep_number self._last_processed_sweep = latest.sweep_number