These are chat archives for thunder-project/thunder

Aug 2015
Jeremy Freeman
Aug 01 2015 00:40
welcome @marta-grilo ! your best bet would be to first use a function from called loadmat to get your Matlab data into Python, and then go from there, you would use these lines:
from import loadmat
dat = loadmat('foo.mat')['var1’]
then you could load the array into Thunder like this:
imgs = tsc.loadImagesFromArray(dat)
and finally do the correlation with:
y = loadmat('foo.mat')['var2'].squeeze()
result = imgs.toSeries().correlate(y).pack()
i just tested all that on a little mat file i made that should be like yours