// function so it"s loaded on-demand
raw = io.read_raw_fif(raw_fname)
events = read_events(event_name)
picks_eeg = pick_types(raw.info, meg=False, eeg=True, exclude=[])
// select every second channel for faster speed but compensate by using
// mode="accurate".
picks_meg = pick_types(raw.info, meg=True, eeg=False, exclude=[])[1::2]
picks = pick_types(raw.info, meg=True, eeg=True, exclude=[])
After Change
// function so it"s loaded on-demand
raw = io.read_raw_fif(raw_fname)
events = read_events(event_name)
picks_eeg = pick_types(raw.info, meg=False, eeg=True, exclude=[])[:15]
// subselect channels for speed
picks_meg = pick_types(raw.info, meg=True, eeg=False, exclude=[])[1:200:2]
picks = pick_types(raw.info, meg=True, eeg=True, exclude=[])