nicetoolbox.utils.filehandling.read_npz_file

nicetoolbox.utils.filehandling.read_npz_file(filepath)[source]

Reads and returns the data from an NPZ file.

Supports loading data with the allow_pickle=True parameter.

Parameters:

filepath (str) – The path to the NPZ file.

Returns:

The data loaded from the NPZ file.

Return type:

data (numpy.ndarray)