phys2bids.io.read_header_and_channels

phys2bids.io.read_header_and_channels(filename)[source]

Read a txt file with a header and channels and separate them.

Parameters:

filename (str) – path to the txt Labchart file

Returns:

  • header (list of strings) – header lines

  • channel_list (list of strings) – The channels of the recording