brainhack-school2020 / haqqeez_bhs2020_project

Determine relevant statistical and machine learning tools best suited to consolidate neural data with behavioural data.
0 stars 0 forks source link

Matlab to python file conversion #3

Open cat-boucher opened 4 years ago

cat-boucher commented 4 years ago

just throwing this on here: if you end up needing to convert matlab data to python i would recommend the h5py package (7.3 and above) or loadmat function (below 7.3) to read your mat files!

haqqeez commented 4 years ago

Awesome! I will indeed need to migrate some matlab files. Thanks a bunch!

cat-boucher commented 4 years ago

If your matlab data structures are nested, you might have some issues. Let me know if thats the case, this weekend ill be repackaging code i wrote that converts these to a multiindex pandas df

haqqeez commented 4 years ago

Will do! For now, I think I'll only need to extract a couple n x m arrays of data, which shouldn't be too hard.

cat-boucher commented 4 years ago

That should be easy!