TMSiSDK.device.devices.saga.saga_device.SagaDevice.apply_mask

TMSiSDK.device.devices.saga.saga_device.SagaDevice.apply_mask#

SagaDevice.apply_mask(n_channels, masks)#

Apply a mask to the received channels

Parameters:
  • n_channels (int) – list of indices of channels

  • masks (function) – list of mask functions

Raises:

TMSiError – TMSiErrorCode.api_invalid_command if wrogn arguments