Trace#

class spidet.domain.Trace.Trace(label: str, sfreq: int, start_timestamp: float, data: ndarray[dtype[float]])[source]#

This class represents the recording from a given channel.

Attributes:
label: str

The name of the channel.

sfreq: int

The sampling frequency of the data.

start_timestamp: float

The start timestamp of the recording as a UNIX timestamp.

data: numpy.ndarray[numpy.dtype[float]]

An array containing the EEG data of the given channel.