[FieldTrip] read fif files

Joseph Dien jdien07 at mac.com
Mon May 3 21:05:55 CEST 2021


you may also want to rename the file to end in “-epo.fif” rather than “_epo.fif”

Cheers!

Joe

> On May 3, 2021, at 11:57, Schoffelen, J.M. (Jan Mathijs) <jan.schoffelen at donders.ru.nl <mailto:jan.schoffelen at donders.ru.nl>> wrote:
> 
> Dear Bruno,
> 
> What’s the syntax of the call to ft_read_header?
> Note that the filename should be inputted as a string, so:
> 
> ft_read_header(’name-of-the-file’)
> 
> rather than
> 
> ft_read_header(name-of-the-file)
> 
> Best wishes,
> Jan-Mathijs
> 
> 
>> On 3 May 2021, at 17:50, Bruno Mansur <brunommansur at gmail.com <mailto:brunommansur at gmail.com>> wrote:
>> 
>> Dear fieldtrip group members,
>> 
>> I have some EEG data that was preprocessed using MNE software and saved in fif format.
>> 
>> I would like to open it using fieldtrip. The fieldtrip website says that the functions ft_read_header, ft_read_data and ft_read_event are able to read fif files, however I got the following error message when trying to open my files:
>> 
>> Undefined variable "epochs_OGT_Tfr_p03_2_epo" or class "epochs_OGT_Tfr_p03_2_epo.fif".
>> 
>> What should I do to import my files to fieldtrip correctly? I would appreciate any contribution.
>> 
>> (I'm using windows)
>> 
>> Best,
>> 
>> Bruno 
>> _______________________________________________
>> fieldtrip mailing list
>> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip <https://mailman.science.ru.nl/mailman/listinfo/fieldtrip>
>> https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!rf_mjAijQJ4670SmS7u8AaAzIila21e3Y5EeDKNK2A-IZ4oeZAgUrQmFEfLr1EXqmwKWZlS6$ 
> 
> 
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip <https://mailman.science.ru.nl/mailman/listinfo/fieldtrip>
> https://doi.org/10.1371/journal.pcbi.1002202

--------------------------------------------------------------------------------

Joseph Dien, PhD
Senior Research Scientist
Department of Human Development and Quantitative Methodology
University of Maryland, College Park
Editor-In-Chief of Biological Psychology (along with Thomas Ritz)
Cell Phone: 202-297-8117
http://joedien.com <http://joedien.com/>


--------------------------------------------------------------------------------

Joseph Dien, PhD
Senior Research Scientist
Department of Human Development and Quantitative Methodology
University of Maryland, College Park
Editor-In-Chief of Biological Psychology (along with Thomas Ritz)
E-mail: jdien07 at mac.com
Cell Phone: 202-297-8117
http://joedien.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210503/dd60bee6/attachment.htm>


More information about the fieldtrip mailing list