You record the signals using Electroencephalography (EEG) for a given event (ie. “smile”), and average the signal results.