[Mne_analysis] hdf5 file importing
Alessandro Benedetto
aml.benedetto at gmail.com
Fri Feb 17 12:49:40 EST 2017
Thanks a lot for your help, I'll work on your suggestions to make it works!
Best,
alessandro
Il 17/02/2017 18:32, Chris Holdgraf ha scritto:
> To add a little bit more context - HDF5 is not a project-specific
> format, so there would be no way for MNE to have a function that would
> read in an arbitrary HDF5 file. HDF5 is kind of like a file/folder
> directory, but stored in a single file.
>
> You should look into a package called `h5py` and use it to explore the
> files that are output by your script. Use it to find the data and
> relevant information necessary to create the MNE data structures that
> Alex linked to.
> --
>
> On Fri, Feb 17, 2017 at 3:58 AM Alexandre Gramfort
> <alexandre.gramfort at telecom-paristech.fr
> <mailto:alexandre.gramfort at telecom-paristech.fr>> wrote:
>
> hi,
>
> you should try to get your data in a numpy array and then use:
>
> http://martinos.org/mne/stable/auto_tutorials/plot_creating_data_structures.html
>
> let us know if you need more details.
>
> Best,
> Alex
>
> On Fri, Feb 17, 2017 at 12:21 PM, Alessandro Benedetto
> <aml.benedetto at gmail.com <mailto:aml.benedetto at gmail.com>> wrote:
> > Hi everyone,
> > I'm trying to move to python from matlab for EEG data analysis, but
> > unfortunatly I never really programmed in python. I'm writing to you
> > because I would like
> > to import the .hdf5 files (from g.nautilus EEG setup), but at the
> > momement I do not know exactly how to do that. Do you have any
> > experience with this kind of importing?
> >
> > Sorry if this question sounds basic (i've seen on the web there are
> > several way to import .hdf5 files, but not a direct mne function
> to do
> > that), but I have not experience with python programming,
> >
> > Thanks for your attention
> >
> > Alessandro
> > _______________________________________________
> > Mne_analysis mailing list
> > Mne_analysis at nmr.mgh.harvard.edu
> <mailto:Mne_analysis at nmr.mgh.harvard.edu>
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
> >
> >
> > The information in this e-mail is intended only for the person
> to whom it is
> > addressed. If you believe this e-mail was sent to you in error
> and the e-mail
> > contains patient information, please contact the Partners
> Compliance HelpLine at
> > http://www.partners.org/complianceline . If the e-mail was sent
> to you in error
> > but does not contain patient information, please contact the
> sender and properly
> > dispose of the e-mail.
> >
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> <mailto:Mne_analysis at nmr.mgh.harvard.edu>
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in error
> but does not contain patient information, please contact the sender and properly
> dispose of the e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170217/48cde9f4/attachment-0001.html
More information about the Mne_analysis
mailing list