perturbopy.test_utils.compare_data.h5.hdf5_to_dict

perturbopy.test_utils.compare_data.h5.hdf5_to_dict(file_path)

Read the hdf5 file and return it in the form of dictionary

Parameters:

file_path (str) – path to the hdf5 file

Returns:

hdf5_dict – data from the hdf5 file in the form of dictionary

Return type:

dict