some fixes

This commit is contained in:
2026-06-23 13:52:31 +03:00
parent 02bbe83446
commit d522828875
2 changed files with 15 additions and 6 deletions
@@ -313,6 +313,15 @@ class MultiRadarSequentialCaptureSession:
"""Return completed combo batches in capture order."""
return list(self._captured_batches)
def traces_for_radar_key(self, radar_key: str) -> list[TraceData]:
"""Return every captured trace (one per combo) for one radar variant.
Unlike a batch's ``traces`` (one entry per variant, holding only the
preview trace), this returns the full per-combo set, so matrix radars
expose all ports rather than just the last one.
"""
return list(self._traces_by_radar_key.get(radar_key, []))
def radar_variant_count(self) -> int:
"""Return how many radar variants are captured per combo."""
return len(self._radar_variants)