This commit is contained in:
awe
2026-04-10 22:39:50 +03:00
parent 992ba88480
commit 70e18fa300

View File

@ -743,11 +743,6 @@ def run_pyqtgraph(args) -> None:
p_line_phase.setXLink(p_line)
except Exception:
pass
if not complex_sweep_mode:
try:
p_line_phase.hide()
except Exception:
pass
p_img = win.addPlot(row=0, col=1, title="Сырые данные водопад")
p_img.invertY(False)
@ -904,8 +899,7 @@ def run_pyqtgraph(args) -> None:
if complex_sweep_mode:
try:
parsed_data_cb.setText("Сырые CH1/CH2" if bin_iq_power_mode else "Сырые Re/Im")
if bin_iq_power_mode:
parsed_data_cb.setChecked(True)
parsed_data_cb.setChecked(True)
except Exception:
pass
fft_curve_group = QtWidgets.QGroupBox("FFT кривые")
@ -1852,7 +1846,11 @@ def run_pyqtgraph(args) -> None:
)
displayed_calib = None
displayed_aux = resolve_visible_aux_curves(runtime.current_aux_curves, parsed_data_enabled)
displayed_phase = compute_aux_phase_curve(displayed_aux)
displayed_phase = compute_aux_phase_curve(runtime.current_aux_curves)
try:
p_line_phase.setVisible(displayed_phase is not None and displayed_phase.size > 0)
except Exception:
pass
if runtime.current_sweep_raw is not None:
raw_x, raw_y = decimate_curve_for_display(xs, runtime.current_sweep_raw)