<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi April,
<div class=""><br class="">
</div>
<div class="">Given that the error message is quite specific, I suspect that there’s something in your data (missing) that is unexpected by the file reading function. Perhaps the folks that implemented the NWB format in FT can comment on this, I am not familiar
 with the data format.</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 4 May 2022, at 21:30, April Luo via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hello,<br class="">
<div class=""><br class="">
</div>
<div class="">I'm trying to import NWB files using fieldtrip functions. I followed the tutorial here: <a href="https://urldefense.com/v3/__https://www.fieldtriptoolbox.or__;!!HJOPV4FYYWzcc1jazlU!45QYn3a-bH4hG7LIgMnz7VD2VzCMpg3joXJ4I9jXoh8QEpg94hUOgTB1GRXa6jQpBllJUcDchSYhN8shl1zulAiFWycskVjSKBDlmA$" class="">https://www.fieldtriptoolbox.or</a><font face="arial, sans-serif" class="">g/getting_started/nwb/.
 But when I get to '<span class="gmail-n" style="color:rgb(33,37,41);box-sizing:border-box">hdr</span><span style="color:rgb(33,37,41);background-color:rgb(240,240,240)" class="">
</span><span class="gmail-o" style="box-sizing:border-box;color:rgb(102,102,102)">=</span><span style="color:rgb(33,37,41);background-color:rgb(240,240,240)" class="">
</span><span class="gmail-n" style="color:rgb(33,37,41);box-sizing:border-box">ft_read_header</span><span class="gmail-p" style="color:rgb(33,37,41);box-sizing:border-box">(</span><span class="gmail-n" style="color:rgb(33,37,41);box-sizing:border-box">nwbFile</span><span class="gmail-p" style="color:rgb(33,37,41);box-sizing:border-box">);'
 It gives an error that no lfp data can be found. The dataset I'm using is an sEEG recording while participants speak words, does fieldtrip NWB not support sEEG data? I could also use python to get sEEG data and channel info, save as csv, then import into fieldtrip
 format, is there any tutorial for importing data as csv files? Except sEEG data and channel info, do I need to provide other information?</span></font></div>
<div class=""><font face="arial, sans-serif" class=""><span class="gmail-p" style="color:rgb(33,37,41);box-sizing:border-box"><br class="">
</span></font></div>
<div class=""><font face="arial, sans-serif" class=""><span class="gmail-p" style="color:rgb(33,37,41);box-sizing:border-box">Thank you,</span></font></div>
<div class=""><font face="arial, sans-serif" class=""><span class="gmail-p" style="color:rgb(33,37,41);box-sizing:border-box">Best,</span></font></div>
<div class=""><font face="arial, sans-serif" class=""><span class="gmail-p" style="color:rgb(33,37,41);box-sizing:border-box">April Luo</span></font></div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!45QYn3a-bH4hG7LIgMnz7VD2VzCMpg3joXJ4I9jXoh8QEpg94hUOgTB1GRXa6jQpBllJUcDchSYhN8shl1zulAiFWycskViMyoL-yA$
<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>