pyavs.compute_beamformer_filters

pyavs.compute_beamformer_filters(epochs: mne.Epochs, forward: mne.Forward, noise_cov: mne.Covariance | None = None, data_cov: mne.Covariance | None = None, reg: float = 0.05, weight_norm: str = 'unit-noise-gain', pick_ori: str = 'max-power', reduce_rank: bool = False, verbose: bool = True) mne.beamformer.Beamformer[source]

Compute LCMV beamformer filters.

Parameters:
  • epochs (mne.Epochs) – Epoched MEG data

  • forward (mne.Forward) – Forward solution

  • noise_cov (mne.Covariance, optional) – Noise covariance matrix (default: None, computed from data)

  • data_cov (mne.Covariance, optional) – Data covariance matrix (default: None, computed from epochs)

  • reg (float, optional) – Regularization parameter (default: 0.05)

  • weight_norm (str, optional) – Weight normalization method (default: ‘unit-noise-gain’)

  • pick_ori (str, optional) – Orientation selection method (default: ‘max-power’)

  • reduce_rank (bool, optional) – Whether to reduce rank (default: False)

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

Returns:

Beamformer filters

Return type:

mne.beamformer.Beamformer