new presets added
This commit is contained in:
BIN
Binary file not shown.
Binary file not shown.
+16
@@ -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
|
||||||
|
}
|
||||||
+4007
File diff suppressed because it is too large
Load Diff
+16
@@ -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
|
||||||
|
}
|
||||||
+16
@@ -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
|
||||||
|
}
|
||||||
+4007
File diff suppressed because it is too large
Load Diff
+16
@@ -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
|
||||||
|
}
|
||||||
@@ -35,7 +35,7 @@ VNA_PID = 0x5740 # STM32 Virtual ComPort
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Simulator mode settings
|
# 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_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
|
SIMULATOR_NOISE_LEVEL = 100 # Standard deviation of Gaussian noise to add to real and imaginary parts
|
||||||
|
|
||||||
|
|||||||
@@ -5,12 +5,12 @@
|
|||||||
"max": 1.5,
|
"max": 1.5,
|
||||||
"gain": 1.0,
|
"gain": 1.0,
|
||||||
"start_freq": 400.0,
|
"start_freq": 400.0,
|
||||||
"stop_freq": 3000.0,
|
"stop_freq": 5170.0,
|
||||||
"clear_history": false,
|
"clear_history": false,
|
||||||
"sigma": 2.0,
|
"sigma": 0.54,
|
||||||
"border_border_m": 0.3,
|
"border_border_m": 0.3,
|
||||||
"if_normalize": true,
|
"if_normalize": false,
|
||||||
"if_draw_level": true,
|
"if_draw_level": false,
|
||||||
"detection_level": 8.0,
|
"detection_level": 8.0,
|
||||||
"data_limit": 500,
|
"data_limit": 500,
|
||||||
"y_min": -50,
|
"y_min": -50,
|
||||||
|
|||||||
@@ -363,7 +363,7 @@ class VNASettingsManager:
|
|||||||
|
|
||||||
return summary
|
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.
|
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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+4007
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user