MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / get_eeg_channels

Method get_eeg_channels

cpp_package/src/board_shim.cpp:427–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427std::vector<int> BoardShim::get_eeg_channels (int board_id, int preset)
428{
429 int channels[MAX_CHANNELS];
430 int len = 0;
431 int res = ::get_eeg_channels (board_id, preset, channels, &len);
432 if (res != (int)BrainFlowExitCodes::STATUS_OK)
433 {
434 throw BrainFlowException ("failed to get board info", res);
435 }
436 return std::vector<int> (channels, channels + len);
437}
438
439std::vector<int> BoardShim::get_exg_channels (int board_id, int preset)
440{

Callers

nothing calls this directly

Calls 2

BrainFlowExceptionClass · 0.85
get_eeg_channelsFunction · 0.50

Tested by

no test coverage detected