I've read a .mat file with scipy.io:
data = scipy.io.loadmat(etc.)
The function returns a dictionary, and my Matlab structure array is stored in a Numpy structured array. So far, so good. One of my fields is called repet1_F3, and should contain a vector of floats. I've accessed the vector using:
repet1_F3= data['repet1_F3']
repet1_F3 has a weird structure that I can't manipulate:
>>> repet1_F3
array(array([ 0.48856978, 0.74278461, 2.73300925, 2.72642893, 2.73684854, 2.74516561, 2.69143553]), dtype=object)
Am I doing something wrong? How could I convert this object into a standard numpy array?
data.shape?