Closed dsuplica closed 2 months ago
His presets:
TRIAL_START_TIME = -0.2
TRIAL_END_TIME = 1.5
BASELINE_TIME = [-0.2, 0]
REJECTION_TIME = [0, 1.4]
SRATE = 500 # hz, will resample if different from 1k
FILTER_FREQS = (None, 80) # None to not do lowpass
LINEAR_R2 = 0.3
event_dict={
'trial_start': 0,
'baseline': 1,
'cue': 2,
'post_cue': 3,
'S11': 11,
'S13': 13,
'S21': 21,
'S23': 23,
'delay': 4,
'test':5,
'trial_end': 6,
'block_end': 7,
'exp_end': 8,
'reject': 9
}
event_code_dict={} # define event codes based on sequence
stim_conditions=[11,13,21,23]
for key,ev in event_dict.items():
if ev > 10:
event_code_dict.update({ev:[3,ev,4,5,6]})
POSITION_TO_TIMELOCK = 1 # which position (IN THE LIST ABOVE) to timelock to
CDA plots w new and old pipeline. Verified works with old order
this is actually a problem with mvEEG
Per slack msg from Leo: -> We might need to change the channel labeling. The new preprocessing pipeline code alphabetically sorts the channel labels, but the actual data is not altered accordingly.
All analyses work except for CDA requiring labels