spyrit.misc.load_data.read_acquisition

spyrit.misc.load_data.read_acquisition(data_root: Path, data_folder: str, data_file_prefix: str) Tuple[dict, ndarray][source]

Read acquisition data and metadata from experimental files.

Args:

data_root: Root directory of the data. data_folder: Folder containing the data. data_file_prefix: Prefix of the data files.

Returns:

Tuple of (acquisition_parameters, measurement_data).

Raises:

FileNotFoundError: If metadata or data files are not found.