pvtend.ClassifyResult
- class pvtend.ClassifyResult(stage_all: dict[str, set[int]], stage_awb: dict[str, set[int]], stage_cwb: dict[str, set[int]], stage_neu: dict[str, set[int]], h_scale: float | None, stages: list[str], classify_levels: list[int], classify_threshold: int)[source]
Holds RWB variant classification results.
- __init__(stage_all: dict[str, set[int]], stage_awb: dict[str, set[int]], stage_cwb: dict[str, set[int]], stage_neu: dict[str, set[int]], h_scale: float | None, stages: list[str], classify_levels: list[int], classify_threshold: int) None
Methods
__init__(stage_all, stage_awb, stage_cwb, ...)load(path)Load from a previously-saved PKL.
save(path)Persist to pickle (same format as core script).
Attributes
stage_labels{stage: {track_id: label}}where label ∈ AWB/CWB/NEUTRAL/Omega.stage_tracksetsvariant_tracksetVariant → frozenset mapping, e.g.
AWB_onset.