[Mne_analysis] HDF5

Eric Larson larson.eric.d at gmail.com
Wed Sep 30 07:17:48 EDT 2020
Search archives:

        External Email - Use Caution        

>
> with h5py.File("C:\\Users\\Andres\\Desktop\\h5_data.h5", 'w') as hdf:
>
>     hdf.create_dataset('Data1', data=raw)
>

You probably need to pass `data=raw.get_data()` so that you input a numpy
ndarray to the h5py function rather than a Raw instance.

Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200930/9cbeb0c1/attachment-0001.html 


More information about the Mne_analysis mailing list