iblrig.hardware.Bpod

- class iblrig.hardware.Bpod[source]
- __init__(*args, skip_initialization=False, **kwargs)[source]
- Parameters:
skip_initialization (bool)
- define_rotary_encoder_actions(module=None)[source]
- Parameters:
module (BpodModule | None)
- Return type:
None
- get_ambient_sensor_reading()[source]
Retrieve ambient sensor readings.
If the ambient sensor module is not available, returns an array filled with NaN values. Otherwise, retrieves the temperature, air pressure, and relative humidity readings.
- Returns:
A NumPy array containing the sensor readings in the following order:
[0] : Temperature in degrees Celsius
[1] : Air pressure in millibars
[2] : Relative humidity in percentage
- Return type:
np.ndarray
- property ambient_module
- can_control_led = True
- property is_connected
- property rotary_encoder
- property sound_card