Skip to content
Abstracts due Jan 1512th International BCI MeetingŠibenik, Croatia • Jun 7–10, 2027
← Learn neurotechnology

10 minutes · Public recording

Explore an OPM-MEG recording

Look at the auditory response measured by magnetometers worn on the head, the effect of one OPM-specific cleanup step, and the states of a hidden Markov model.

Magnetoencephalography (MEG) measures the magnetic fields produced by electrical activity in neurons. These fields are about 100 fT. The SQUID sensors of conventional MEG are cooled to about −269 °C in liquid helium and sit about 2 cm from the scalp. Optically pumped magnetometers (OPMs) measure the field with a heated vapour of atoms. They need no cryogenics and sit directly on the head.

An OPM stops working if the background field is above about 1.5 nT. OPMs are therefore used in a shielded room, often with coils that cancel the remaining field. Even there, a sensor that moves through that field sees a signal that does not come from the brain.

  1. Keep the average of all trials with HFC on. Find the peak near 100 ms after the sound at the left sensor, then at the right sensor.
  2. Switch to a single trial. Can you see the response? Then compare the average of 10 and of 50 trials.
  3. Turn HFC off. Look at the slow drift in the 60 s plot, then at the standard deviation of single trials.
  4. Pick a model state. Compare its spectrum, its map and its probability around the sounds.

Auditory response

G2-A4-RAD · HFC On

The vertical line marks the sound onset. Sounds repeat every 0.5 s.

Peak from 70 to 130 ms
-325 fT
Standard deviation before the sound
47 fT
Peak / noise ratio
6.9

Standard deviation of the 10 single trials shown · 544 fT

Slow drift before and after HFC

Without HFC · Range over 60 s 154 pTWith HFC · Range over 60 s 6 pT

The same sensor from 120 to 180 s, before band-pass filtering. Each point is a 0.2 s average.

Median power reduction from HFC across the 86 channels: 13.6 dB at 1 Hz, 8.1 dB at 10 Hz.

Head coverage

43 sensors · G2-A4

Top view, nose up. Each dot is a sensor. The sensor on display is highlighted.

At a glance

What it measures
Magnetic fields produced by electrical activity in neurons, about 100 fT.
Sensors in this recording
43 dual-axis OPMs, so 86 channels, plus 8 reference channels for the room field (4 contain data).
Sampling rate
6000 Hz as recorded. The lab shows the data at 250 Hz after filtering.
What limits depth and resolution
The signal falls with the square of the distance from the source. Close to the scalp, OPMs give a signal 4 to 5 times stronger than SQUIDs in many cortical areas. The advantage shrinks with depth, to about 2 times for deeper regions.
What full coverage buys
Both hemispheres in one recording, like the left and right responses here. With sensors all around the head at known positions, HFC can estimate the uniform field and its gradients and remove them.

Hidden Markov model states

A hidden Markov model (HMM) assumes the signal switches between a small number of states. Each state has its own covariance across sensors, computed over a window of 15 samples (56 ms). The model gives the probability of each state at each moment.

State sequence from 80 to 92 s

80828486889092

Each colour is the most likely state. White ticks mark the sounds; the first sound arrives at 86.0 s.

StateTime spentBefore the first soundDuring the soundsMean visit length
44 %39 %46 %248 ms
12 %15 %11 %82 ms
28 %26 %29 %192 ms
16 %19 %13 %174 ms

State spectrum compared with the average

+50−5210203040Frequency (Hz)

Relative power (dB)

State power map

Power from 2 to 40 Hz at each radial sensor, compared with the recording average. Orange: higher. Blue: lower.

State probability around the sounds

Average over the 572 sounds. A task-related state would rise or fall after 0 ms.

In this model, state probabilities change by less than 6 percentage points around the sounds. The states mostly describe differences in spectral power, not the auditory response. They are sensor-level states, with no source reconstruction.

Where the data come from

Participant sub-002 of the auditory OPM example from the Wellcome Centre for Human Neuroimaging (UCL), QuSpin sensors. With MNE-Python, the build script regresses out the reference sensors (low-passed at 5 Hz), applies order-2 HFC (8 projectors), a notch filter at 50 Hz and its harmonics and a 2 to 40 Hz band-pass, then resamples to 250 Hz. Trials run from −100 to 400 ms with a pre-sound baseline. The “HFC off” version skips only the HFC step. These steps follow the MNE OPM tutorial for this same dataset.

With osl-dynamics, the script fits a 4-state time-delay embedded HMM (TDE-HMM) to the 86 channels after HFC: 15 lags, 80 principal components, a fixed seed. We keep 4 states because this is one 7-minute recording at the sensor level. A second seed recovers 3 of the 4 state spectra (correlation ≥ 0.94). The fourth, a broadband power state, changes more (0.62).

Data © 2022 WCHN OPM Lab, Robert Seymour and Nicholas Alexander, under the MIT license.

What to take away

Here OPMs measure an auditory response near 100 ms on both sides of the head, clear only after averaging many trials. HFC strongly reduces slow drift and single-trial variability. The HMM splits the recording into states with different power, but those states follow the sounds only weakly at the 0.5 s scale.