[FieldTrip] hdr_read_header

Eva Schlösser E.C.Schlosser at student.tudelft.nl
Tue Oct 19 10:06:55 CEST 2021


Dear all,


Hope you are doing okay.


I'm making two script for selecting EEG or aEEG data.

When I use the ft_read_header function for EEG data (edf file), my script is working and selecting all the right channels (because of the frequency of the EEG data is most common in the edf file).


However, when I have the aEEG .edf file, hdr_read_header is taking the 1 [Hz] channels instead of the channels of the aEEG, because the 1 [Hz] is now more common in the edf. file, but those channels I don't need!


I tried to use the edf2fieldtrip function, ft_channelselection and ft_selectdata.

Now it is possible to get the data for only the aEEG channels. However,  I want to read this data with the ft_read_header function, so I can use the same hdr.Fs (for example) in my script.


Can somebody help me with this?

Kind regards,

Eva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20211019/3efb6d87/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hdr_read_header.txt
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20211019/3efb6d87/attachment.txt>


More information about the fieldtrip mailing list