brainaccess.core.gain_mode#
Classes#
Enumeration of the available gain modes for the device's amplifiers. |
Functions#
|
Converts a GainMode enum member to its integer multiplier. |
|
Converts an integer multiplier to its corresponding GainMode enum member. |
Module Contents#
- class brainaccess.core.gain_mode.GainMode(*args, **kwds)[source]#
Bases:
enum.EnumEnumeration of the available gain modes for the device’s amplifiers.
The gain mode determines the amplification factor applied to the analog signal before it is digitized. Higher gain values are suitable for measuring low-amplitude signals, while lower gain values are better for signals with a larger dynamic range.
- brainaccess.core.gain_mode.gain_mode_to_multiplier(gain_mode)[source]#
Converts a GainMode enum member to its integer multiplier.
- Parameters:
gain_mode (GainMode) – The gain mode to convert.
- Returns:
The integer multiplier corresponding to the gain mode (e.g., GainMode.X12 returns 12).
- Return type:
int