labs weeks 1-3 Flashcards

1
Q

structure how we store EEG data

A

in raw format stored in an array, with a separate index variable for the time axis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

where are amplitude, frequency and offset in the sine wave?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ERP in terms of the EEG data

A

the average signal over individual trials for a particular electrode (could be for particular or all participants)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how is the data of the EEG stored?

A

nChan x nTime x nTrial

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what does this mean?

A

64 channels (electrodes)

640 samples/timepoints for each channel

99 repetitions (trials) for each recording

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

compute the ERP of each channel in Python

A

erp = np.nanmean(data, axis = 2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ValueError: x and y must have same first dimension, but have shapes (640,) and (64, 640)

  • what to do?
A

np.transpose(y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

how to make this plot?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

how to display legend like this?

A

ax.legend(channames, ncol = 6, bbox_to_anchor=(1,1), loc=”upper left”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly