Open ChesterHuynh opened 3 years ago
I am extending the data structure for "Trials" to contain more of the metadata information. In addition, I've written the behavioral XY coordinate data over time as a compressed "tsv" file. Will upload an API to read this data.
The strategy to robustly get metadata to the Epochs data structure and downstream tasks is:
Dropping epochs -> results in dropping said metadata All metadata goes hand-in-hand w/ the epochs
Resulting in the following API:
and the dataclass:
Trial
specifying metadata for a specific trial, with a to_data_frame
method.The XY coordinate movement data of the cursor has the same sampling rate as the raw EEG. Thus we can treat it like a mne.io.Raw
object with two sensors: (x
, and y
). We can add the corresponding events
data structure to it, so we could theoretically form an Epochs data structure. Or we can perform parsing on it to determine average speed between two endpoints of a specific trial.
Epochs
, we can epoch the XY coordinate data (easy; same procedure of epoching as Raw EEG data)[trial.compute_speed() for trial in xy_raw.trials]
"
Extend functions in
io/read.py
to allow inclusion of fixation data from the WAR task