pvtend.ClassifyConfig

class pvtend.ClassifyConfig(npz_dir: Path = PosixPath('.'), output_path: Path = PosixPath('rwb_variant_tracksets.pkl'), stages: list[str] = <factory>, classify_levels: list[int | str] = <factory>, classify_threshold: int = 3, rwb_cfg: RWBConfig = <factory>, exclude_file: Path | None = None)[source]

Configuration for Pass-1 RWB classification.

npz_dir

Root directory containing stage sub-directories (onset/, peak/, decay/), each with dh=±N subdirectories that hold per-event NPZ files.

Type:

pathlib.Path

output_path

Where to save the resulting variant-tracksets PKL.

Type:

pathlib.Path

stages

List of event stages to process.

Type:

list[str]

classify_levels

Pressure levels [hPa] checked for RWB.

Type:

list[int | str]

classify_threshold

Number of levels that must agree.

Type:

int

rwb_cfg

Fine-grained RWB bay-detection settings.

Type:

pvtend.rwb.RWBConfig

exclude_file

Optional CSV listing track IDs to skip.

Type:

pathlib.Path | None

__init__(npz_dir: Path = PosixPath('.'), output_path: Path = PosixPath('rwb_variant_tracksets.pkl'), stages: list[str] = <factory>, classify_levels: list[int | str] = <factory>, classify_threshold: int = 3, rwb_cfg: RWBConfig = <factory>, exclude_file: Path | None = None) None

Methods

__init__(npz_dir, output_path, stages, ...)

Attributes

classify_threshold

exclude_file

npz_dir

output_path

stages

classify_levels

rwb_cfg