ba_configure_eeg#
Apply a simple EEG acquisition configuration.
Function Signature#
function result = ba_configure_eeg(channel_ids, sample_rate_hz, gain_mode, bias_channels)
Usage#
result = ba_configure_eeg(channel_ids)
result = ba_configure_eeg(channel_ids, sample_rate_hz, gain_mode, bias_channels)
Inputs#
channel_idsnumeric vector of channels to enable.
sample_rate_hzoptional sample rate in Hz.
gain_modeoptional gain value expected by the SDK.
bias_channelsoptional numeric vector of channels to place in bias mode.
Outputs#
resultstruct describing the applied wrapper-side configuration.
Example#
ba_configure_eeg([0 1], 250, 8, [0 1])
Notes#
Calls ba_set_channel_enabled, ba_set_channel_gain, ba_set_channel_bias, ba_set_sample_rate, and ba_load_config as needed.
Source File#
matlab/ba_configure_eeg.m