Revert "move to new version"

This reverts commit e202f57ef8.
This commit is contained in:
awe
2026-09-25 14:51:04 +03:00
parent 243963063c
commit ebf0462d85
16 changed files with 66 additions and 863 deletions
@@ -376,58 +376,9 @@ def build_processing_group(owner) -> QGroupBox:
owner._gpr_imaging_plane_y_m.setSingleStep(0.05)
owner._gpr_imaging_plane_y_m.setValue(float(gpr_live_defaults.imaging_plane_y_m))
owner._gpr_imaging_plane_y_m.setToolTip(
"Y coordinate of the BP imaging slice (m) in 'const' plane mode. "
"Use 0 for legacy 1D antenna layouts."
"Y coordinate of the BP imaging slice (m). Use 0 for legacy 1D antenna layouts."
)
owner._gpr_timing_mode = QComboBox()
owner._gpr_timing_mode.addItems(["segmented_interleaved", "interleaved"])
owner._set_combo_current_text(owner._gpr_timing_mode, gpr_live_defaults.timing_mode)
owner._gpr_timing_mode.setToolTip(
"Acquisition timing model for motion correction: 'segmented_interleaved' — Tx run "
"in sequential segments (real hardware), 'interleaved' — legacy whole-frame model."
)
owner._gpr_tx_per_segment = QSpinBox()
owner._gpr_tx_per_segment.setRange(1, 64)
owner._gpr_tx_per_segment.setValue(int(gpr_live_defaults.tx_per_segment))
owner._gpr_tx_per_segment.setToolTip(
"Fallback Tx count per segment when per-trace capture timestamps are absent; "
"timestamp grouping wins when available."
)
owner._gpr_plane_mode = QComboBox()
owner._gpr_plane_mode.addItems(["ground", "const"])
owner._set_combo_current_text(owner._gpr_plane_mode, gpr_live_defaults.plane_mode)
owner._gpr_plane_mode.setToolTip(
"BP imaging plane: 'ground' follows the ground given the frame pitch "
"(needed with vertically spread antennas), 'const' is the legacy fixed Y."
)
owner._gpr_ground_depth_m = QDoubleSpinBox()
owner._gpr_ground_depth_m.setDecimals(3)
owner._gpr_ground_depth_m.setRange(0.0, 50.0)
owner._gpr_ground_depth_m.setSingleStep(0.05)
owner._gpr_ground_depth_m.setValue(float(gpr_live_defaults.ground_depth_m))
owner._gpr_ground_depth_m.setToolTip(
"Height of the lower antenna row above the ground (m); structural constant."
)
owner._gpr_ground_pitch_override_enabled = QCheckBox("Override ground pitch")
owner._gpr_ground_pitch_override_enabled.setChecked(
bool(gpr_live_defaults.ground_pitch_override_enabled)
)
owner._gpr_ground_pitch_override_enabled.setToolTip(
"Unchecked: the ground plane uses 'Look angle deg' as the frame pitch."
)
owner._gpr_ground_pitch_deg = QDoubleSpinBox()
owner._gpr_ground_pitch_deg.setDecimals(2)
owner._gpr_ground_pitch_deg.setRange(-90.0, 90.0)
owner._gpr_ground_pitch_deg.setSingleStep(0.1)
owner._gpr_ground_pitch_deg.setValue(float(gpr_live_defaults.ground_pitch_deg))
owner._gpr_ground_pitch_deg.setEnabled(bool(gpr_live_defaults.ground_pitch_override_enabled))
gpr_page = _build_processing_mode_page(
owner._processing_mode_pages,
[
@@ -449,12 +400,6 @@ def build_processing_group(owner) -> QGroupBox:
("Approach min frames", owner._gpr_object_approach_min_frames),
("Start MHz", owner._gpr_start_freq_mhz),
("Stop MHz", owner._gpr_stop_freq_mhz),
("Timing mode", owner._gpr_timing_mode),
("Tx per segment", owner._gpr_tx_per_segment),
("Plane mode", owner._gpr_plane_mode),
("Ground depth m", owner._gpr_ground_depth_m),
owner._gpr_ground_pitch_override_enabled,
("Ground pitch deg", owner._gpr_ground_pitch_deg),
("Imaging plane Y m", owner._gpr_imaging_plane_y_m),
("Visible X min m", owner._gpr_visible_x_min_m),
("Visible X max m", owner._gpr_visible_x_max_m),
@@ -848,13 +793,6 @@ def build_processing_group(owner) -> QGroupBox:
owner._gpr_background_mean_count.valueChanged.connect(owner._on_processing_live_settings_changed)
owner._gpr_remove_sidelobe_objects_enabled.toggled.connect(owner._on_processing_live_settings_changed)
owner._gpr_imaging_plane_y_m.valueChanged.connect(owner._on_processing_live_settings_changed)
owner._gpr_timing_mode.currentTextChanged.connect(owner._on_processing_live_settings_changed)
owner._gpr_tx_per_segment.valueChanged.connect(owner._on_processing_live_settings_changed)
owner._gpr_plane_mode.currentTextChanged.connect(owner._on_processing_live_settings_changed)
owner._gpr_ground_depth_m.valueChanged.connect(owner._on_processing_live_settings_changed)
owner._gpr_ground_pitch_override_enabled.toggled.connect(owner._gpr_ground_pitch_deg.setEnabled)
owner._gpr_ground_pitch_override_enabled.toggled.connect(owner._on_processing_live_settings_changed)
owner._gpr_ground_pitch_deg.valueChanged.connect(owner._on_processing_live_settings_changed)
owner._gpr_render_mode.currentTextChanged.connect(owner._on_gpr_visual_settings_changed)
owner._gpr_max_detected_objects_to_draw.valueChanged.connect(owner._on_gpr_locator_threshold_changed)
owner._gpr_draw_top_m_objects.valueChanged.connect(owner._on_gpr_locator_threshold_changed)