Skip to content

MEEG Resources

Wenshuo Qin edited this page Mar 30, 2026 · 7 revisions

EEG Procedures

Updated March 2026

This guide outlines general procedures and guidelines for using the EEG lab at Johns Hopkins University (based on the EEG lab user guide from the Donders Institute). Lab members who have not previously conducted an EEG experiment at Hopkins should receive an introduction to the lab from someone with prior EEG experience at Hopkins and review this document beforehand. For any questions, comments, or suggestions regarding the procedures described here, please contact the lab manager or Leyla.

Advance notes

EEG lab introduction

New people who intend to use the EEG lab have to be introduced to the EEG lab by an experienced EEG researcher. Set up an hour for an introduction to the EEG lab, available hardware/software, lab rules, and procedures. Researcher using the lab and their PI should be held responsible for the breakage of lab equipment. Researchers who are new to the EEG method can request that an experienced EEG researcher accompany them for a couple of sessions before conducting experiments on their own. 

Handle EEG equipment with care!

The EEG equipment is highly valuable as well as vulnerable. Cables and wires are extremely fragile. Handle the cables with both hands if possible to provide proper support. Ensure that the head electrodes are not exposed to bumps or impacts. When placing them on a table, use a dry towel as padding on hard surfaces to help prevent damage. Do not twist or pull the cables.

Take good care of your participants

Although running an EEG experiment may become an all-day routine for you, this is mostly not the case for your participants. Remember to explain what you are doing, and make sure the participant feels free to ask questions at all times. In addition, the participant should feel comfortable at any time. Be careful while preparing the (skin of the) participant for the EEG measurement. Scrubbing should not be painful. Also, work hygienically: do not use the same syringes, gel, needles, gauze sponges, etc., on more than one participant. Do not dip cotton swabs or syringes in the jar with gel after usage. Throw away gauze sponges, syringes, needles, etc. that fell on the floor (i.e., do not use them on the participant again).

Devices

unknown unknown_2

Scheduling the EEG lab

Before running the experiment, you should ask Leyla for authorized access to the scheduling Google Calendar, where you can see when the room is available and input your schedule.

Before the arrival of the participant

  • control room
    • Boot EEG PC
    • Open Vision Recorder (desktop shortcut)
    • Create/open your personal workspace - save this file on the data drive (do NOT store any data on the desktop / local drive!)
    • Boot Exp-PC (if applicable: plug in Presentation dongle)
    • Open your experiment
  • testing room
    • Remove the charging cable(s) from the power unit and connect the power unit to the amplifier. Switch on the amplifier
    • Connect the Splitter Box cable(s) to amplifier(s); press gently on the plastic bar until it clicks
    • Splitter box 1 /amplifier 1 to channel 1-32 (green)
    • Splitter box 2 / amplifier 2 to channel 33-64 (yellow)
    • Connect the Ground cable to the amplifier 

⠀After the arrival of the participant

  • Let your participant sign a consent and/or other screening forms
  • Ask whether the participant needs to go to the bathroom beforehand
  • Make sure their phone is switched off. Electronics, coats, or jackets can be put in the control room. NO electronic devices are allowed in the testing room.
  • Measure head size (forehead to bone at back of the head: nasion - inion) and take a cap with the corresponding size (available sizes 54-56-58-60; cap should fit tightly)
  • Clean face around the eyes and behind the ears using alcohol and scrub gel (NuPrep). Tell the participant to close their eyes. NB Don't scrub too hard! Make sure that you do not hurt your participant
  • Put the cap on. Adjust the cap to make sure the Cz electrode holder (14) is in the middle of the head, i.e., 
    • between the eyebrows and the bone at the back of the head,
    • between the left and right ears
  • Guide the participant into the testing room, sit on a chair, and adjust the distance of the chair to the screen
  • Instruct the participant to, once connected to the EEG equipment, avoid abrupt, large movements, as these may damage the EEG equipment
  • Put the electrodes in the holders
  • Put a towel on the participant’s shoulder. Place the splitter boxes on the back of the chair or (if the participant has to move) on the participant's shoulder of the participant and fix it with the clip. Fill the electrode holders with active electrode gel. Always start with the ground channel. Tell and show your participant that the needles you use are blunt and should never hurt.
  • Open impedance window in Vision Recorder. Switch the HDMI cable connecting the monitor in the testing room to the EEG PC, so that the Impedance view is visible in the testing room monitor.
  • Default settings: 
    • Good level 20 kOhm (start with this number! NB tests have proven that a good signal is obtained with impedances <20. If you still would like to go lower, only decrease it once impedances are below 20.) 
    • Bad level 60 kOhm 
    • Time-out 60 minutes
  • Use the needles to move hairs to the side, to gently scrape the skin, and to add gel to the electrode holders. NB, tell your participant that this process should never hurt, and check with them whether this is indeed not the case
  • NB hygiene: do not use the same gel, gauze sponges, needles, tissues, etc. on different participants; do not dip cotton swabs or syringes in the jar with gel after usage; throw away gauze sponges, syringes, etc. that fell on the floor
  • Once impedance is OK (<20 kOhm), click on the ‘eye’ button in Vision Recorder to check the signal
  • Let the participant produce artifacts (blink, look left/right, chew, etc.) and explain their effects on the EEG signal.
  • Leave the testing room, close the door.
  • Start recording the EEG signal by pressing the ‘play’ button in Vision Recorder
  • Enter a name for the data file and press ‘save’; you will see a red box appear at the bottom of the screen
  • Tell your participant that they can be heard at all times.
  • Start your experiment 

⠀End of experiment

  • Take care of the participant first!
  • Remove the cap very slowly; be careful that the participant’s hair will be stuck to the gel. If this happens, don’t move the cap, and let the participant pull out their hair.
  • Detach the Ref cable 
  • Show participants where to wash their hair, show them the shampoo, give them a towel, and show them where to hang the towel after use (to prevent wet towels from ending up in the laundry basket)
  • Reset electronics, plug the charging cable back into the power unit
  • Clean the equipment. Place the electrodes in the colander rather than directly in the sink. This prevents damage to the electrode tips.
  • Clean the electrodes with a waterpick in lukewarm running water.  Use the hygiene solution to clean the cap. Make sure all gel remains are removed from the cap and electrodes!
  • After cleaning, hang the electrode on the wall and attach the cap to the model head.
  • Using the hairdryer to speed up drying of the cap is not encouraged, as the hot air can ruin the elasticity of the cap. If using the hair dryer can’t be avoided due to consecutive measurements, use medium temperature and blow settings (e.g., not the highest).
  • Put dried towels in the laundry basket. DO NOT PUT WET TOWELS IN THE LAUNDRY BASKET.
  • Remove gel remnants from the table, chair, and equipment.
  • Save your data (EEG pc and EXP pc) on the data drive, the network drive, or an external hard drive. DO NOT save your data on the desktop!
  • Leave the lab in its original state: throw away used needles, syringes, tissues, etc., put equipment and supplies back in their original location, throw away consumables, and bring dishes to the kitchen.

EEG data collection procedure

EEG experiment checklist - PBS

Example Psychtoolbox code with triggers - PBS

Troubleshooting ActiCap

E/MEG data analysis

Preprocessing:

Tutorial on epoching & preprocessing EEG data in FieldTrip

Decoding:

Tutorial: http://www.readout.info/tutorials/megeeg-decoding-tutorial/

Code: https://github.com/lisik/meg_decoding

Clone this wiki locally