brainaccess_board.database#

Classes#

ReadDB

Get current database file to read from it

Module Contents#

class brainaccess_board.database.ReadDB(filename='current')[source]#

Get current database file to read from it

Parameters:

filename (str)

get_mne(device=None, duration=None, time_range=None, only_lsl=True, marker_devices_include=None)[source]#

Get data from the database as mne objects

If no parameters are given, dictionary with all devices full data are returned.

Parameters:
  • device (str, optional) – The device identifier. Usually the LSL uid. If empty all devices are returned.

  • duration (int, Optional) – The duration in seconds from the end.

  • time_range (tuple, Optional) – The time range to get data from. If duration is set time_range is ignored.

  • only_lsl (bool, Optional) – If True, only LSL devices are included. With default templates non LSL devices are not recorded.

  • marker_devices_include (list, Optional) – List of marker devices to include. If left empty all marker devices are included.

Returns:

Dictionary with mne objects.

Return type:

dict

name[source]#