<s> """<STR_LIT>""" <EOL> import mne <EOL> from mne import find_events , Epochs , pick_types , read_evokeds <EOL> from mne . datasets . megsim import load_data <EOL> print ( __doc__ ) <EOL> condition = '<STR_LIT>' <EOL> raw_fnames = load_data ( condition = condition , data_format = '<STR_LIT>' , <EOL> data_type = '<STR_LIT>' , verbose = True ) <EOL> evoked_fnames = load_data ( condition = condition , data_format = '<STR_LIT>' , <EOL> data_type = '<STR_LIT>' , verbose = True ) <EOL> raw = mne . io . read_raw_fif ( raw_fnames [ <NUM_LIT:0> ] ) <EOL> events = find_events ( raw , stim_channel = "<STR_LIT>" , shortest_event = <NUM_LIT:1> ) <EOL> raw . plot ( ) <EOL> picks = pick_types ( raw . info , meg = True , eog = True , exclude = '<STR_LIT>' ) <EOL> event_id , tmin , tmax = <NUM_LIT:9> , - <NUM_LIT> , <NUM_LIT:0.5> <EOL> epochs = Epochs ( raw , events , event_id , tmin , tmax , baseline = ( None , <NUM_LIT:0> ) , <EOL> picks = picks , reject = dict ( grad = <NUM_LIT> , mag = <NUM_LIT> , eog = <NUM_LIT> ) ) <EOL> evoked = epochs . average ( ) <EOL> evoked . plot ( ) <EOL> evoked_sim = read_evokeds ( evoked_fnames [ <NUM_LIT:0> ] , condition = <NUM_LIT:0> ) <EOL> evoked_sim . plot ( ) </s>
