scans#
Work with multiple scans for analysis; scans.selected stays separate from scans.current.
current
#
current() -> Scan | None
The active acquisition scan (mirrors state.current_scan); never part of the analysis working set.
apply_graph
#
apply_graph(
graph: str
| Postprocessing
| list[PostprocessingNode]
| None = None,
) -> dict[str, GraphResult]
Run a processing graph over every scan in the working set; returns label (or id) mapped to GraphResult.
find
#
List scans in a project (default: the current project) as lazy proxies.
load
#
load(
scan_id: str,
project: str | None = None,
label: str | None = None,
analyze: bool = False,
) -> Scan
Add a scan to the working set, materialized as stored (no preprocessing/detection unless analyze).
pages
#
The workspace pages in panel order; selected is their scans, each once.
release
#
Remove a scan from the working set, or clear the whole set if None.