prsctrl.data.util.find_all_data_hierarchies#
- find_all_data_hierarchies(base_dir: Path | str) list[tuple[Path, list[FullHierarchy]]][source]#
Find all datas.
Finds all series directoriesand then enumerates all groups inside the hdf5 file. Returns a list of paths series directories and all groups inside. These can be each can be passed directly to.PrsDatato load a spectrum asdata = PrsData(series_dir, hierarchy=hierarchy).- Parameters:
base_dir – Base directory to search.
- Returns:
List of data paths.