Rework radar system

This commit is contained in:
Ayzen
2026-10-06 12:32:26 +03:00
parent 552cdc688a
commit 5bb86b7165
299 changed files with 13537 additions and 27763 deletions
@@ -44,6 +44,7 @@ from __future__ import annotations
from dataclasses import dataclass
import numpy as np
from numpy.typing import NDArray
from python_app.models.run_config_schema import KamilAdcModel
@@ -189,7 +190,7 @@ class KamilAdcSweepProcessor:
return phase + shift, anchor + shift
return phase, anchor
def process(self, main: np.ndarray, reference: np.ndarray) -> np.ndarray | None:
def process(self, main: np.ndarray, reference: np.ndarray) -> NDArray[np.complex64] | None:
"""Return the S21 trace resampled onto the fixed grid, or ``None`` to reject.
``main`` and ``reference`` are equal-length complex arrays ordered by