Records

class bci_framework.framework.widgets.records.Records(parent, core)[source]

Widget with rocords and offline streaming.

connect()None[source]

Connect events.

get_metadata(filename: str, light: bool = True)None[source]

Read the record file and load the header.

get_offset()float[source]

The offset for slider animation.

load_file(item)None[source]

Prepare file to stream it in offline mode.

load_records()None[source]

Load all records from records directory.

on_focus()None[source]

Reload records.

record_renamed(item)None[source]

Rename records file.

record_signal(toggled: bool)None[source]

Start record and start record animation.

remove_record()None[source]

Remove file from records directory.

stream_record(toggled)None[source]

Start the stream.

update_record_time()None[source]

Update the value of the current streamed signal.

update_timer()None[source]

Stream data into kafka.

update_timer_record()None[source]

Update the timer to indicate that the records is active.