eelbrain.load.besa.roi

eelbrain.load.besa.roi(path, adjust_index=True)

Load a BESA-MN ROI saved in a *.mat file.

Parameters:
  • path (str) – Path to the *.mat file containing the ROI.

  • adjust_index (bool) – Adjust the index for Python (Matlab indexes start with 1, Python indexes start with 0).

Returns:

roi – ROI source indexes.

Return type:

array, shape = (n_sources,)