Source code for brainaccess.core.impedance_measurement_mode

"""Impedance measurement modes."""
import enum


[docs] class ImpedanceMeasurementMode(enum.Enum): """Impedance measurement modes. Impedance measurement checks the quality of the electrode-skin contact. Pass a member to :meth:`~brainaccess.core.eeg_manager.EEGManager.set_impedance_mode`. In every mode except :attr:`OFF` the electrode channels carry impedance in kOhm instead of the signal in µV. Attributes ---------- OFF : int No impedance measurement; the channels carry the EEG signal. HZ_7_8 : int Measure with a 7.8 Hz wave. The stream always runs at 250 Hz. HZ_31_2 : int Measure with a 31.2 Hz wave. The stream runs at 250 Hz when the sample rate is above 1000 Hz, otherwise at the sample rate you set. DR_DIV4 : int Measure with a wave at a quarter of the sample rate. The stream runs at the sample rate you set. """
[docs] OFF = 0
[docs] HZ_7_8 = 1
[docs] HZ_31_2 = 2
[docs] DR_DIV4 = 3