pyavs.create_bem_model

pyavs.create_bem_model(subject: str, subjects_dir: str, conductivity: Tuple[float, float, float] = (0.3, 0.006, 0.3), ico: int | None = 4, verbose: bool = True) mne.bem.ConductorModel[source]

Create BEM (Boundary Element Method) model for source reconstruction.

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

  • subjects_dir (str) – Path to FreeSurfer subjects directory

  • conductivity (tuple of float, optional) – Conductivity values for (brain, skull, scalp) (default: (0.3, 0.006, 0.3))

  • ico (int, optional) – Icosahedral subdivision number (default: 4)

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

Returns:

BEM conductor model

Return type:

mne.bem.ConductorModel