brainaccess.core.annotation#

Classes#

Annotation

Represents a single annotation with a timestamp and text.

Module Contents#

class brainaccess.core.annotation.Annotation[source]#

Bases: ctypes.Structure

Represents a single annotation with a timestamp and text.

This class is used to mark specific points in time with a descriptive label, which is useful for synchronizing EEG data with external events.

timestamp#

The sample number corresponding to the time the annotation was recorded. This allows for precise alignment with the EEG data stream.

Type:

int

annotation[source]#

The text of the annotation, decoded from ASCII. This provides a human-readable description of the event that occurred at the given timestamp.

Type:

str

Initialize self.  See help(type(self)) for accurate signature.
property annotation[source]#

The annotation text, decoded from ASCII.