open_dat_file

open_dat_file(file_path: str, channels: list[str], sfreq: int = 2048, types: str = 'seeg', units: str = 'uV') RawArray[source][source]

Opens a .dat file and returns a mne.io.RawArray object.

Parameters:
  • file_path (str) – The path to the .dat file.

  • channels (List[str]) – The channels to load.

  • sfreq (int, optional) – The sampling frequency, by default 2048

  • types (str, optional) – The channel types, by default “seeg”

  • units (str, optional) – The units of the data, by default “uV”

Return type:

mne.io.RawArray