obci_readmanager.signal_processing.tags.tags_file_writer module¶
Module defines single :class ‘TagsFileWriter’ providing proxy for OpenBCI tags file.
Bases:
object
A proxy for OpenBCI tags file, that writes every next tag to file.
Public interface: - tag_received(tag_dict) - finish_saving()
Write xml tags to the file, return the file`s path.
For give dictionary with pirs key -> value create an xml element.
An exception is with key ‘desc’ where xml elements are created for every element of p_tag_dict[‘desc’] value which is a dictionary.