Download presentation
Presentation is loading. Please wait.
Published byLily Greer Modified over 9 years ago
1
All slides © S. J. Luck, except as indicated in the notes sections of individual slides Slides may be used for nonprofit educational purposes if this copyright notice is included, except as noted Permission must be obtained from the copyright holder(s) for any other use The ERP Boot Camp Setting Up and Running an ERP Lab
2
Bob Galambos (1914-2010) “You’ve got to get yourself a phenomenon” Robert Galambos discovered, with Donald Griffin, the phenomenon of echolocation in bats. During his career he carried out fundamental physiological studies of the auditory system using microelectrodes in cats, and later studied brain waves and auditory evoked potentials in humans. He was an early and forceful protagonist for the importance of glia in the function of the nervous system.
3
Recording Chamber Do you really need one? Do you really need one? Probably not if: Probably not if: -You’re looking at slow components and can low-pass filter with a 50% cutoff at 30 Hz -And you’re not near any major source of electrical noise Elevators, centrifuges, power transformers, ventilation fans Elevators, centrifuges, power transformers, ventilation fans -You don’t care about gamma oscillations They’re good for keeping subjects focused They’re good for keeping subjects focused They tend to get warm, so it may actually be better not to have one if skin potentials are a major source of noise They tend to get warm, so it may actually be better not to have one if skin potentials are a major source of noise You can build one from 2x4’s and copper screen You can build one from 2x4’s and copper screen
4
Courtesy of Lynne Reder
5
Recording Chamber Most are made for acoustics Most are made for acoustics -Eckel, Acoustic Systems, & Industrial Acoustics Corporation -They offer electrical shielding options (mainly RF) -I paid $11K in 1998, >$20K in 2006 -Used chambers may be available -The radio test: Should block AM & FM (not SW) Good ventilation is crucial Good ventilation is crucial -Avoid skin potentials -Connect to building HVAC or small heat pump Electrical noise may be generated by lights, fan, etc. Electrical noise may be generated by lights, fan, etc. -Speaker wires may cause large noise -You can use DC lights (see erpinfo.org for details)
6
Seating Key points: Key points: -Comfortable to avoid muscle noise -Don’t want subjects to fall asleep -Don’t want electrodes to rest on anything Recliners are common for auditory studies Recliners are common for auditory studies I recommend high-quality office chair I recommend high-quality office chair -Glides rather than wheels -Mark the floor I haven’t had much luck with chin rests I haven’t had much luck with chin rests Euro II Grow With Me
7
Response Devices Need to be held in a comfortable position Need to be held in a comfortable position -Don’t want subject holding arms up Game controllers work well Game controllers work well -Mass-produced -> reliable Constant and variable timing errors are possible Constant and variable timing errors are possible -RT is so variable that a bit of timing variability will usually have virtually no impact (unless you are looking at response-locked averages) -EMG for best response timing -Can measure timing errors by putting a mic next to device and recording “click” along with event code
8
Hints for Running Subjects P3/N400: 30-40 trials per condition (e.g., 30 rare) P3/N400: 30-40 trials per condition (e.g., 30 rare) N2pc/ERN: 100-200 trials per condition N2pc/ERN: 100-200 trials per condition P1/N1: 300-600 trials per condition P1/N1: 300-600 trials per condition 60 minutes of “run time” per session 60 minutes of “run time” per session Runs of 4-6 minutes with 2-3 20-second breaks Runs of 4-6 minutes with 2-3 20-second breaks -Less makes it inefficient to deal with electrodes, etc. -More leads to fatigue -Some labs do all-day sessions with lot of breaks Dilution Rule: Don’t dilute good data with bad data Dilution Rule: Don’t dilute good data with bad data -Adding noisy trials doesn’t improve the S/N ratio Note: Watch the EEG throughout the session Note: Watch the EEG throughout the session -Look for artifacts, bad connections, etc.
9
Hints for Running Subjects Happiness Rule: A happy subject is a good subject Happiness Rule: A happy subject is a good subject -Compliance with task -Compliance with artifact control instructions -Less noise Talking to subjects Talking to subjects -Treat subject like a person, not like a piece of meat -Chat while putting on electrodes (or video) Tell them exactly what will happen -- this reduces stress Tell them exactly what will happen -- this reduces stress -Chat during breaks -Note: Some subjects don’t want to talk -- that’s OK Keeping subjects happy Keeping subjects happy -Food and drink -Eye drops (single-use) -Music
10
Looking at the Data Do a fairly complete analysis of the first subject’s data before running anyone else Do a fairly complete analysis of the first subject’s data before running anyone else -All the main comparisons among ERP waveforms -Accuracy (and RT if recorded) for each main condition -There may be a serious problem with event codes, etc. -“Nothing focuses the mind quite as much as real data” Take a look at the individual subjects and the grand averages every 3-4 subjects Take a look at the individual subjects and the grand averages every 3-4 subjects -Grand averages will give you more power to see something funky in the data -But don’t get too freaked out if the results look a little funny or aren’t conforming to your predications -Be especially concerned about “impossible” results (e.g., effects that consistently begin before time zero) -Look at calibration data for each subject
11
Ethical Issues Everything that applies to behavioral experiments plus… Everything that applies to behavioral experiments plus… -Risk of disease transmission High impedance helps High impedance helps Need thoughtful disinfection (even for high impedance) Need thoughtful disinfection (even for high impedance) -Risk of electrical shock Optical isolation and/or battery power Optical isolation and/or battery power -Headache from electrode cap -Gel in hair -Long duration of experiment -Claustrophobia -Concerns about privacy of EEG data Providing clear information in advance is the best way to prevent problems Providing clear information in advance is the best way to prevent problems
12
Stimulus Presentation Testing the timing of event codes Testing the timing of event codes -Digitize at 1000 Hz -Present stimuli along with event codes -For auditory stimuli, connect auditory output (or a microphone) to the digitization system You might want to use a square-wave tone or a 50-Hz sine wave You might want to use a square-wave tone or a 50-Hz sine wave -For visual stimuli, point some kind of light pen to the video monitor and connect to digitization system -See when the stimuli are actually presented relative to the event codes Auditory artifacts Auditory artifacts -Speaker in headphones may induce a current -Post-auricular muscle twitch
13
LCDs vs. CRTs Problem especially when drawing in black on white background As of early 2000s
14
CRT Basics When you draw something, nothing happens until the frame buffer is updated AND the raster beam reaches the right part of the monitor LCDs operate similarly, but often there is an additional delay of several milliseconds before the stimuli actually appear
15
Stimulus Timing Jitter What does a constant delay between event code and stimulus do to the averaged ERP? What does a constant delay between event code and stimulus do to the averaged ERP? -Time shift -Can be fixed with a filter What does a variable delay between event code and stimulus do to the averaged ERP? What does a variable delay between event code and stimulus do to the averaged ERP? -Distribution of delays is convolved with jitter-free “real” waveform -Modest low-pass filter For most cognitive paradigms, effects are minimal For most cognitive paradigms, effects are minimal -But not always You need to understand exactly what the jitter is doing, and this usually requires measuring it You need to understand exactly what the jitter is doing, and this usually requires measuring it
16
Stimulus Timing Jitter Waveform appears at 0, 10, or 20 ms with equal likelihood Averaging these together is equal to replacing each point in the distribution of delays with a scaled and shifted version of the ERP waveform The result is slightly low-pass filtered and shifted to the right in time What is frequency response of filter produced by jitter? Distribution of Stimulus Delays Example: Stimulus appears 0, 10, or 20 ms after event code with even distribution
17
The Endpoint: Writing an ERP Paper Rule #1: Write with a specific audience in mind Rule #1: Write with a specific audience in mind -But keep in mind that the reviewers are the first and most important audience Rule #2: Intro must end with a set of competing hypotheses about a general issue and then a set of corresponding predictions Rule #2: Intro must end with a set of competing hypotheses about a general issue and then a set of corresponding predictions -May want to explicitly address reason for using ERPs Rule #3: Results should be organized to lead reader to a conclusion Rule #3: Results should be organized to lead reader to a conclusion -Descriptive statistics first, then inferential statistics Rule #4: Discussion should recap major results and conclusions that can be drawn Rule #4: Discussion should recap major results and conclusions that can be drawn -Often followed by possible objections that can be discarded (and perhaps some that cannot)
20
CRT Basics Wait for video blanking interrupt Draw dots in random order at various screen locations (10 x 10) 0.5 ms to draw each dot Refresh rate = 100 Hz (10 ms)Dot Drawn at Visible at 1 0.0-0.5 ms 9-10 ms 2 0.5-1.0 ms 0-1 & 10-11 ms 3 1.0-1.5 ms 5-6 ms 4 1.5-2.0 ms 8-9 ms 5 2.0-2.5 ms 10-11 ms
21
The right way to do it Draw each display in advance to an off-screen memory area (not the frame buffer) Draw each display in advance to an off-screen memory area (not the frame buffer) Wait for vertical blanking interrupt Wait for vertical blanking interrupt Copy from off-screen memory area to frame buffer Copy from off-screen memory area to frame buffer Make sure no more interrupts have occurred Make sure no more interrupts have occurred Note: Even if you do this, the bottom of the screen will appear after the top of the screen Note: Even if you do this, the bottom of the screen will appear after the top of the screen
22
Data Analysis Systems Things to look for Things to look for -Averaging on the basis of sequences of events, RTs, correct vs. incorrect responses, response-locked -Artifact rejection that is sensitive to fairly subtle artifacts, such as eye movements -Ability to re-reference the data (before and after averaging) any way you want -Ability to recombine waveforms any way you want -Filtering with good, known impulse response functions -Implement a variety of basic and advanced component measurement functions -Plot waveforms flexibly (in recommended way) Export as vector files, not bitmaps Export as vector files, not bitmaps -Import and export EEG and ERPs -Convenient work flow
23
My General Recommendation Matlab, EEGLAB Toolbox, and ERPLAB Toolbox if you want power and flexibility and are willing to put up with slower speed, more primitive user interface, etc. Matlab, EEGLAB Toolbox, and ERPLAB Toolbox if you want power and flexibility and are willing to put up with slower speed, more primitive user interface, etc. -Not so good for beginners BrainVision Analyzer if your needs are simple and you want something that works “right out of the box” BrainVision Analyzer if your needs are simple and you want something that works “right out of the box” -Can easily link to Matlab Any other package that really does what you want Any other package that really does what you want -Not just convenient when you do a demo of analyzing one subject – what happens if you want to re-analyze everything with a longer prestimulus baseline period?
24
Electrode-Amplifier-Computer Connections Any noise picked up between electrode and amplifier will be amplified Any noise picked up between electrode and amplifier will be amplified To minimize: To minimize: -Use a well shielded chamber -Put amplifier inside chamber -Keep electrode wires short -Use electrodes with preamplifiers (Biosemi) -Use electrodes with shielded cables (Brain Products)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.