pvtend.CompositeConfig

class pvtend.CompositeConfig(npz_dir: Path = PosixPath('.'), stages: list[str] = <factory>, exclude_file: Path | None = None, n_workers: int | None = None)[source]

Configuration for Pass-2 composite accumulation.

npz_dir

Root directory with {stage}/dh=±N/*.npz.

Type:

pathlib.Path

stages

Event stages to process.

Type:

list[str]

exclude_file

Optional exclude-track CSV.

Type:

pathlib.Path | None

n_workers

Parallel workers across (stage, dh) tasks. If None (default) falls back to the PVTEND_COMPOSITE_WORKERS env var, else 1 (serial). Set to >1 to use concurrent.futures.ProcessPoolExecutor.

Type:

int | None

__init__(npz_dir: Path = PosixPath('.'), stages: list[str] = <factory>, exclude_file: Path | None = None, n_workers: int | None = None) None

Methods

__init__(npz_dir, stages, exclude_file, ...)

Attributes

exclude_file

n_workers

npz_dir

stages