[Mne_analysis] extracting recording date from .fif file header

Denis-Alexander Engemann denis.engemann at gmail.com
Wed Feb 26 18:12:32 EST 2014
Search archives:

Hi Burke,

in Python you can do:


import mne
from datetime import datetime

raw = mne.fiff.Raw('my-raw.fif')

print datetime.fromtimestamp(raw.info['meas_date'][0])


HTH,
Denis



On Wed, Feb 26, 2014 at 11:54 PM, Burke Rosen <bqrosen at ucsd.edu> wrote:
> Is it possible to extract the recording date from .fif file header? If
> so, what is the best way to do it?
>
> Thanks,
>
> -Burke Rosen
> _______________________________________________
> 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.
>



More information about the Mne_analysis mailing list