brainaccess.core.device_features#
Classes#
What a headset model can do: sensors and electrode layout. |
Module Contents#
- class brainaccess.core.device_features.DeviceFeatures(device_info)[source]#
What a headset model can do: sensors and electrode layout.
- Parameters:
device_info (DeviceInfo) – Information about the headset, from
get_device_info().- Raises:
BrainAccessException – If the headset model is not recognized.
Examples
>>> features = DeviceFeatures(manager.get_device_info()) >>> features.electrode_count() 8
- electrode_count()[source]#
Get the number of electrodes of the headset.
- Returns:
The number of electrodes available for recording.
- Return type:
- has_accel()[source]#
Tell whether the headset has an accelerometer.
- Returns:
Trueif it has an accelerometer.- Return type:
- has_gyro()[source]#
Tell whether the headset has a gyroscope.
- Returns:
Trueif it has a gyroscope.- Return type:
- is_bipolar()[source]#
Tell whether the electrodes are bipolar.
A bipolar electrode has a positive (P) and a negative (N) contact, and its signal is the difference between the two. The contact status is then reported per contact (
ELECTRODE_CONTACT_PandELECTRODE_CONTACT_Ninbrainaccess.core.eeg_channel).- Returns:
Trueif the electrodes are bipolar.- Return type: