updated stimuli analysis for EEG triggers