Rework radar system
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user