ezmsg.event.message#

Classes

class EventMessage(offset: float, ch_idx: int, sub_idx: int = 0, value: Number = 1)[source]#

Bases: object

Parameters:
offset: float#

The temporal offset at which the event occurred. This is a float in seconds. The reference point is unspecified and depends on the clock the application uses. Most applications will use time.time.

ch_idx: int#
__init__(offset, ch_idx, sub_idx=0, value=1)#
Parameters:
Return type:

None

sub_idx: int = 0#

0=unsorted, 1-5 sorted unit, >5=noise

Type:

The sub-index of the channel. For Blackrock multi-unit data

value: Number = 1#

The value of the event. This can be any number, but is usually an integer, and is often 1 for spikes.

class EventMessage(offset: float, ch_idx: int, sub_idx: int = 0, value: Number = 1)[source]#

Bases: object

Parameters:
offset: float#

The temporal offset at which the event occurred. This is a float in seconds. The reference point is unspecified and depends on the clock the application uses. Most applications will use time.time.

ch_idx: int#
__init__(offset, ch_idx, sub_idx=0, value=1)#
Parameters:
Return type:

None

sub_idx: int = 0#

0=unsorted, 1-5 sorted unit, >5=noise

Type:

The sub-index of the channel. For Blackrock multi-unit data

value: Number = 1#

The value of the event. This can be any number, but is usually an integer, and is often 1 for spikes.