pvtend.io.list_npz_patches
- pvtend.io.list_npz_patches(root_dir: str | Path, stage: str | None = None, dh: int | None = None) list[Path][source]
List all NPZ patch files under a directory.
- Parameters:
root_dir – Root directory (e.g., composite_blocking_tempest/).
stage – Filter by stage (onset/peak/decay).
dh – Filter by hour offset.
- Returns:
Sorted list of Path objects.