subject_to_info

subject_to_info(subject: str, subjects_dir: str | PathLike = None, ch_types: str = 'seeg', sfreq: int = 2000) Info[source][source]

Gets the info for a subject from the subjects directory

Parameters:
  • subject (str) – The subject to get the info for

  • subjects_dir (PathLike, optional) – The subjects directory, by default HOME / ‘Box’ / ‘ECoG_Recon’

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

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

Returns:

The info for the subject

Return type:

mne.Info