scipy.io.loadmat nested structures (i.e. dictionaries)
Here are the functions, which reconstructs the dictionaries just use this loadmat instead of scipy.io’s loadmat: import scipy.io as spio def loadmat(filename): ”’ this function should be called instead of direct spio.loadmat as it cures the problem of not properly recovering python dictionaries from mat files. It calls the function check keys to cure all … Read more