pyavs.find_cardiac_components

pyavs.find_cardiac_components(ica: mne.preprocessing.ICA, raw: mne.io.Raw, threshold: float = 0.8, method: str = 'automatic', verbose: bool = True) List[int][source]

Find ICA components related to cardiac artifacts.

Parameters:
  • ica (mne.preprocessing.ICA) – Fitted ICA object.

  • raw (mne.io.Raw) – MEG raw data.

  • threshold (float, optional) – Detection threshold (default: 0.8).

  • method (str, optional) – Detection method (‘automatic’, ‘frequency’) (default: ‘automatic’).

  • verbose (bool, optional) – Whether to log results.

Returns:

Indices of cardiac components.

Return type:

list of int