improved logging
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
|
||||
from python_app.models.dataset_model import SweepCollection
|
||||
from python_app.models.run_config_model import RunConfigModel
|
||||
from python_app.storage.npz_store import NpzStore
|
||||
@@ -10,6 +12,8 @@ from python_app.workflows.sequential_capture_workflow import (
|
||||
SequentialCaptureSession,
|
||||
)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def capture_calibration_set(
|
||||
config: RunConfigModel,
|
||||
@@ -19,6 +23,7 @@ def capture_calibration_set(
|
||||
median_sweep_count: int = DEFAULT_CALIBRATION_MEDIAN_SWEEP_COUNT,
|
||||
) -> tuple[str, SweepCollection]:
|
||||
"""Capture all switch combinations and persist them as calibration set."""
|
||||
logger.info("Starting one-shot calibration capture: set=%s", set_name)
|
||||
if config.is_matrix_radar:
|
||||
raise RuntimeError(
|
||||
"Matrix-radar S21 through calibration is not supported by this one-shot full-set helper. "
|
||||
|
||||
Reference in New Issue
Block a user