<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><br></div><div dir="ltr">Dear FieldTrip and MNE lists,<div><br><div>I have a problem when trying to read a .fif file created with MNE python in Fieldtrip. </div><div>It is an AverageTFR type (time-frequency transformed data), created with tfr_multitaper. Does Fieldtrip support reading in TFR files? </div><div><br></div><div>When I try to read the epochs file before running the time-frequency transformation it works fine: </div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><font size="1">cfg = [];<br></font><font size="1">cfg.dataset = my_file.fif<br></font><font size="1">ft_preprocessing(cfg);</font></blockquote><div><br></div><div>Trying to read the TFR file I get the error below (I tried EpochsTFR, too. Same problem), </div><div>in fif_open, tag.kind = -1.9918e+09, but it expects 100:</div><br style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><font size="1">Error using fiff_open (line 56)<br></font><font size="1">file does not start with a file id tag</font><font size="1"><br></font><font size="1">Error in fiff_read_meas_info (line 82)<br></font><font size="1"> [ fid, tree ] = fiff_open(source);</font><font size="1"><br></font><font size="1">Error in ft_read_header (line 1842)<br></font><font size="1"> info = fiff_read_meas_info(filename);</font><font size="1"><br></font><font size="1">Error in ft_preprocessing (line 397)<br></font><font size="1"> hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat,... </font></blockquote><div><div><br></div><div>Any help is appreciated!</div><div>Thank you,</div><div>Sophie</div><div><br></div><div><br></div>-- <br><div dir="ltr" class="m_649415242748188878gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif" size="1"><b><font color="#0b5394">Dr. Sophie K. Herbst</font></b></font></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:x-small">CEA Researcher</span></div><div><div><span style="font-family:arial,helvetica,sans-serif;font-size:x-small">NeuroSpin, CEA Saclay, DRF/Joliot</span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:x-small">Inserm Cognitive Neuroimaging Unit </span></div><div><font face="arial, helvetica, sans-serif" size="1">Bât 145, Gif s/ Yvette F-91190 FRANCE<br>Phone: +33 (0)1 6908 7938<br></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif" size="1"><b><font color="#0b5394">Dr. Sophie K. Herbst</font></b></font></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:x-small">CEA Researcher</span></div><div><div><span style="font-family:arial,helvetica,sans-serif;font-size:x-small">NeuroSpin, CEA Saclay, DRF/Joliot</span></div><div><span style="font-family:arial,helvetica,sans-serif;font-size:x-small">Inserm Cognitive Neuroimaging Unit </span></div><div><font face="arial, helvetica, sans-serif" size="1">Bât 145, Gif s/ Yvette F-91190 FRANCE<br>Phone: +33 (0)1 6908 7938<br></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>