Show non-plotted measurements

This commit is contained in:
iamdoubz committed 2026-05-01 00:14:52 -05:00
1 parent d8b3dd8632
commit 6f24535542
2 files changed
+40 -8

No files matched your search

+12
View File
@@ -94,6 +94,18 @@ class Session:
values.append(sum(readings) / len(readings))
return points, values
def get_missing_points(self, bssids: list[str]) -> list[tuple[float, float]]:
"""
Return positions of measurements where none of the requested BSSIDs
were visible. These are locations where the user took a reading but
the selected network(s) were completely out of range.
"""
missing = []
for m in self.measurements:
if not any(b in m.signals for b in bssids):
missing.append((m.x, m.y))
return missing
def save(self, path: str):
"""Save session to JSON file."""
data = {