new presets added

This commit is contained in:
mipt-user
2025-12-03 18:41:36 +03:00
parent 3124b7141a
commit 14bd16ca9d
15 changed files with 16122 additions and 6 deletions
@@ -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": "T_N2_451U_x2_noamp_20251105",
"standards": [
"through"
],
"created_timestamp": "2025-11-05T20:50:07.441271",
"is_complete": true
}
@@ -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": "T_N2_451U_x2_noamp_20251105",
"standard": "through",
"sweep_number": 14,
"sweep_timestamp": 1762365005.456789,
"created_timestamp": "2025-11-05T20:50:07.440235",
"total_points": 1000
}
@@ -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": "T_N2_451U_x2_noamp_20251105",
"standards": [
"through"
],
"created_timestamp": "2025-11-05T20:50:07.441271",
"is_complete": true
}
@@ -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": "T_N2_451U_x2_noamp_20251105",
"standard": "through",
"sweep_number": 14,
"sweep_timestamp": 1762365005.456789,
"created_timestamp": "2025-11-05T20:50:07.440235",
"total_points": 1000
}
+1 -1
View File
@@ -35,7 +35,7 @@ VNA_PID = 0x5740 # STM32 Virtual ComPort
# -----------------------------------------------------------------------------
# Simulator mode settings
# -----------------------------------------------------------------------------
USE_SIMULATOR = True # Set to True to use simulator instead of real device
USE_SIMULATOR = False # Set to True to use simulator instead of real device
SIMULATOR_SWEEP_FILE = BASE_DIR / "binary_input" / "sweep_example" / "example.json"
SIMULATOR_NOISE_LEVEL = 100 # Standard deviation of Gaussian noise to add to real and imaginary parts
@@ -5,12 +5,12 @@
"max": 1.5,
"gain": 1.0,
"start_freq": 400.0,
"stop_freq": 3000.0,
"stop_freq": 5170.0,
"clear_history": false,
"sigma": 2.0,
"sigma": 0.54,
"border_border_m": 0.3,
"if_normalize": true,
"if_draw_level": true,
"if_normalize": false,
"if_draw_level": false,
"detection_level": 8.0,
"data_limit": 500,
"y_min": -50,
+1 -1
View File
@@ -363,7 +363,7 @@ class VNASettingsManager:
return summary
def _wait_for_new_sweep(self, sweep_buffer, current_sweep_number: int, timeout_seconds: float = 5.0) -> SweepData | None:
def _wait_for_new_sweep(self, sweep_buffer, current_sweep_number: int, timeout_seconds: float = 25.0) -> SweepData | None:
"""
Wait for a new sweep to appear in the buffer with a higher sweep number.
@@ -0,0 +1,12 @@
{
"name": "openair",
"timestamp": "2025-12-03T18:01:54.377387",
"preset_filename": "s21_start100_stop8800_points1000_bw100hz.bin",
"description": "",
"metadata": {
"calibration": {
"calibration_name": "T_N2_451U_x2_noamp_20251105",
"preset_filename": "s21_start100_stop8800_points1000_bw100hz.bin"
}
}
}
@@ -0,0 +1,12 @@
{
"name": "opair",
"timestamp": "2025-12-03T18:29:32.724722",
"preset_filename": "s21_start400_stop6000_points1000_bw20hz.bin",
"description": "",
"metadata": {
"calibration": {
"calibration_name": "T_N2_451U_x2_noamp_20251105",
"preset_filename": "s21_start400_stop6000_points1000_bw20hz.bin"
}
}
}