pyavs.create_source_space

pyavs.create_source_space(subject: str, subjects_dir: str, spacing: str = 'ico4', surface: str = 'white', add_dist: bool = True, n_jobs: int = 1, verbose: bool = True) mne.SourceSpaces[source]

Create cortical source space.

Parameters:
  • subject (str) – Subject name in FreeSurfer subjects directory

  • subjects_dir (str) – Path to FreeSurfer subjects directory

  • spacing (str, optional) – Spacing between sources (‘ico4’, ‘ico5’, ‘7’, etc.) (default: ‘ico4’)

  • surface (str, optional) – Surface to use (‘white’, ‘pial’, ‘inflated’) (default: ‘white’)

  • add_dist (bool, optional) – Whether to add distance information (default: True)

  • n_jobs (int, optional) – Number of parallel jobs (default: 1)

  • verbose (bool, optional) – Whether to print progress information (default: True)

Returns:

Cortical source space

Return type:

mne.SourceSpaces