Bad channels marked in original data:

None


Automatically detected noisy channels:

MEG1311 MEG2523

Automatically detected flat channels:

None

General
Filename(s) sub-emptyroom_ses-19111211_task-noise_meg.fif
MNE object type Raw
Measurement date 1911-12-11 at 00:00:00 UTC
Participant sub-emptyroom
Experimenter mne_anonymize
Acquisition
Duration 00:01:03 (HH:MM:SS)
Sampling frequency 2000.00 Hz
Time points 124,500
Channels
Magnetometers
Gradiometers
Head & sensor digitization 38 points
Filters
Highpass 0.03 Hz
Lowpass 650.00 Hz
Projections grad_ssp_upright.fif : PCA-v1 (off)
grad_ssp_upright.fif : PCA-v2 (off)
grad_ssp_upright.fif : PCA-v3 (off)
grad_ssp_upright.fif : PCA-v4 (off)
grad_ssp_upright.fif : PCA-v5 (off)
mag_ssp_upright.fif : PCA-v1 (off)
mag_ssp_upright.fif : PCA-v2 (off)
mag_ssp_upright.fif : PCA-v3 (off)
mag_ssp_upright.fif : PCA-v4 (off)
mag_ssp_upright.fif : PCA-v5 (off)
mag_ssp_upright.fif : PCA-v6 (off)
mag_ssp_upright.fif : PCA-v7 (off)
mag_ssp_upright.fif : PCA-v8 (off)
PSD
General
Filename(s) sub-emptyroom_ses-19111211_task-noise_meg.fif
MNE object type Raw
Measurement date 1911-12-11 at 00:00:00 UTC
Participant sub-emptyroom
Experimenter mne_anonymize
Acquisition
Duration 00:01:03 (HH:MM:SS)
Sampling frequency 2000.00 Hz
Time points 124,500
Channels
Magnetometers and
Gradiometers and
EOG
ECG
misc
Stimulus
Head & sensor digitization Not available
Filters
Highpass 0.03 Hz
Lowpass 650.00 Hz
Projections grad_ssp_upright.fif : PCA-v1 (off)
grad_ssp_upright.fif : PCA-v2 (off)
grad_ssp_upright.fif : PCA-v3 (off)
grad_ssp_upright.fif : PCA-v4 (off)
grad_ssp_upright.fif : PCA-v5 (off)
mag_ssp_upright.fif : PCA-v1 (off)
mag_ssp_upright.fif : PCA-v2 (off)
mag_ssp_upright.fif : PCA-v3 (off)
mag_ssp_upright.fif : PCA-v4 (off)
mag_ssp_upright.fif : PCA-v5 (off)
mag_ssp_upright.fif : PCA-v6 (off)
mag_ssp_upright.fif : PCA-v7 (off)
mag_ssp_upright.fif : PCA-v8 (off)
PSD
eSSS projectors
General
Filename(s) sub-01_task-noise_proc-otp_raw.fif
MNE object type Raw
Measurement date 1911-12-11 at 00:00:00 UTC
Participant
Experimenter mne_anonymize
Acquisition
Duration 00:00:21 (HH:MM:SS)
Sampling frequency 2000.00 Hz
Time points 40,001
Channels
Magnetometers
Gradiometers
Head & sensor digitization 38 points
Filters
Highpass 0.03 Hz
Lowpass 650.00 Hz
PSD
General
Filename(s) sub-01_task-noise_proc-sss_raw.fif
MNE object type Raw
Measurement date 1911-12-11 at 00:00:00 UTC
Participant
Experimenter mne_anonymize
Acquisition
Duration 00:00:20 (HH:MM:SS)
Sampling frequency 250.00 Hz
Time points 5,000
Channels
Magnetometers
Gradiometers
Head & sensor digitization 38 points
Filters
Highpass 1.00 Hz
Lowpass 40.00 Hz
PSD
General
MNE object type Epochs
Measurement date 1911-12-07 at 00:00:00 UTC
Participant
Experimenter mne_anonymize
Acquisition
Total number of events 7
Events counts coherent/down: 3
coherent/up: 1
incoherent/down: 1
incoherent/up: 2
Time range -0.200 – 1.000 s
Baseline off
Sampling frequency 250.00 Hz
Time points 301
Metadata 7 rows × 5 columns
Channels
Magnetometers
Gradiometers
EOG
ECG
misc
Stimulus
Head & sensor digitization 38 points
Filters
Highpass 1.00 Hz
Lowpass 40.00 Hz
Epoch # event_name coherent/down coherent/up incoherent/down incoherent/up
0 incoherent/up 0.000
1 incoherent/up 0.000
2 incoherent/down 0.000
3 coherent/down 0.000
4 coherent/down 0.000
5 coherent/up 0.000
6 coherent/down 0.000

7 rows × 6 columns

No epochs exceeded the rejection thresholds. Nothing was dropped.
PSD
PSD calculated from 7 epochs (8.4 s).
Method picard
Fit parameters ortho=False
extended=True
max_iter=1000
Fit 257 iterations on epochs (2107 samples)
ICA components 37
Available PCA components 306
Channel types mag, grad
ICA components marked for exclusion ICA000
ICA001
ICA002
ICA003
ICA004
ICA005
ICA006
ICA007
ICA008
ICA009
ICA010
ICA011
ICA012
ICA013
ICA014
ICA015
ICA016
ICA017
ICA018
ICA019
ICA020
ICA021
ICA022
ICA023
ICA024
ICA025
ICA026
ICA027
ICA028
ICA029
ICA030
ICA031
ICA032
ICA033
ICA034
ICA035
ICA036
Events
General
MNE object type Epochs
Measurement date 1911-12-07 at 00:00:00 UTC
Participant
Experimenter mne_anonymize
Acquisition
Total number of events 7
Events counts coherent/down: 3
coherent/up: 1
incoherent/down: 1
incoherent/up: 2
Time range -0.200 – 1.000 s
Baseline off
Sampling frequency 250.00 Hz
Time points 301
Metadata 7 rows × 5 columns
Channels
Magnetometers
Gradiometers
EOG
ECG
misc
Stimulus
Head & sensor digitization 38 points
Filters
Highpass 1.00 Hz
Lowpass 40.00 Hz
Epoch # event_name coherent/down coherent/up incoherent/down incoherent/up
0 incoherent/up 0.000
1 incoherent/up 0.000
2 incoherent/down 0.000
3 coherent/down 0.000
4 coherent/down 0.000
5 coherent/up 0.000
6 coherent/down 0.000

7 rows × 6 columns

No epochs exceeded the rejection thresholds. Nothing was dropped.
PSD
PSD calculated from 7 epochs (8.4 s).
Method picard
Fit parameters ortho=False
extended=True
max_iter=1000
Fit 257 iterations on epochs (2107 samples)
ICA components 37
Available PCA components 306
Channel types mag, grad
ICA components marked for exclusion ICA000
ICA001
ICA002
ICA003
ICA004
ICA005
ICA006
ICA007
ICA008
ICA009
ICA010
ICA011
ICA012
ICA013
ICA014
ICA015
ICA016
ICA017
ICA018
ICA019
ICA020
ICA021
ICA022
ICA023
ICA024
ICA025
ICA026
ICA027
ICA028
ICA029
ICA030
ICA031
ICA032
ICA033
ICA034
ICA035
ICA036
General
Filename(s) sub-01_task-noise_proc-filt_raw.fif
MNE object type Raw
Measurement date 1911-12-11 at 00:00:00 UTC
Participant
Experimenter mne_anonymize
Acquisition
Duration 00:00:20 (HH:MM:SS)
Sampling frequency 250.00 Hz
Time points 5,000
Channels
Magnetometers
Gradiometers
Head & sensor digitization 38 points
Filters
Highpass 1.00 Hz
Lowpass 40.00 Hz
PSD
{}
General
Filename(s) sub-01_task-localizer_proc-ica_epo.fif
MNE object type EpochsFIF
Measurement date 1911-12-07 at 00:00:00 UTC
Participant
Experimenter mne_anonymize
Acquisition
Total number of events 7
Events counts coherent/down: 3
coherent/up: 1
incoherent/down: 1
incoherent/up: 2
Time range -0.200 – 1.000 s
Baseline -0.200 – 0.000 s
Sampling frequency 250.00 Hz
Time points 301
Metadata 7 rows × 5 columns
Channels
Magnetometers
Gradiometers
EOG
ECG
misc
Stimulus
Head & sensor digitization 38 points
Filters
Highpass 1.00 Hz
Lowpass 40.00 Hz
Epoch # event_name coherent/down coherent/up incoherent/down incoherent/up
0 incoherent/up 0.000
1 incoherent/up 0.000
2 incoherent/down 0.000
3 coherent/down 0.000
4 coherent/down 0.000
5 coherent/up 0.000
6 coherent/down 0.000

7 rows × 6 columns

No epochs exceeded the rejection thresholds. Nothing was dropped.
PSD
PSD calculated from 7 epochs (8.4 s).
proc-ica components<deriv_root>/sub-01/meg/sub-01_proc-ica_components.tsv<bids_root>/sub-01/meg/sub-01_acq-calibration_meg.dat <bids_root>/sub-01/meg/sub-01_acq-crosstalk_meg.fif<bids_root>/sub-01/meg/sub-01_task-localizer_meg.fif <bids_root>/sub-emptyroom/ses-19111211/meg/sub-emptyroom_ses-19111211_task-noise_meg.fif<deriv_root>/sub-01/meg/sub-01_task-noise_proc-filt_raw.fif<bids_root>/sub-01/meg/sub-01_acq-calibration_meg.dat <bids_root>/sub-01/meg/sub-01_acq-crosstalk_meg.fif <bids_root>/sub-01/meg/sub-01_task-localizer_meg.fif <bids_root>/sub-emptyroom/ses-19111211/meg/sub-emptyroom_ses-19111211_task-noise_meg.fif<deriv_root>/sub-01/meg/sub-01_task-localizer_bads.tsv <deriv_root>/sub-01/meg/sub-01_task-noise_bads.tsv<deriv_root>/sub-01/meg/sub-01_task-localizer_proc-filt_raw.fif <deriv_root>/sub-01/meg/sub-01_task-noise_proc-filt_raw.fifepo<deriv_root>/sub-01/meg/sub-01_task-localizer_epo.fifmeg<bids_root>/sub-01/meg/sub-01_task-localizer_meg.fif <bids_root>/sub-01/meg/sub-01_task-localizer_meg.json <bids_root>/sub-emptyroom/ses-19111211/meg/sub-emptyroom_ses-19111211_task-noise_meg.fifbads<deriv_root>/sub-01/meg/sub-01_task-localizer_bads.tsv <deriv_root>/sub-01/meg/sub-01_task-noise_bads.tsvproc-otp raw<deriv_root>/sub-01/meg/sub-01_task-localizer_proc-otp_raw.fif <deriv_root>/sub-01/meg/sub-01_task-noise_proc-otp_raw.fifproc-sss raw<deriv_root>/sub-01/meg/sub-01_task-localizer_proc-sss_raw.fif <deriv_root>/sub-01/meg/sub-01_task-noise_proc-sss_raw.fif<deriv_root>/sub-01/meg/sub-01_task-localizer_proc-filt_raw.fifproc-filt raw<deriv_root>/sub-01/meg/sub-01_task-localizer_proc-filt_raw.fifproc-icafit epo ica<deriv_root>/sub-01/meg/sub-01_proc-icafit_epo.fif <deriv_root>/sub-01/meg/sub-01_proc-icafit_ica.fifproc-ica ica<deriv_root>/sub-01/meg/sub-01_proc-ica_ica.fifproc-ica epo<deriv_root>/sub-01/meg/sub-01_task-localizer_proc-ica_epo.fifBIDS raw data<bids_root> = /home/circleci/mne_data/ds003392 <deriv_root> = /home/circleci/mne_data/derivatives/mne-bids-pipeline/ds003392_otp_mxwinit_02_find_empty_roomFind empty-room data matches took 0.0 s completed 2026-10-16 03:23:55 writes: <deriv_root>/sub-01/meg/sub-01_task-localizer_emptyroommatch.jsonpreprocessing_01a_data_qualityAssess data quality and find bad (and flat) channels took 24.4 s over 2 calls completed 2026-10-16 03:24:20 writes: <deriv_root>/sub-01/meg/sub-01_task-localizer_bads.tsv <deriv_root>/sub-01/meg/sub-01_task-localizer_scores.json <deriv_root>/sub-01/meg/sub-01_task-noise_bads.tsv <deriv_root>/sub-01/meg/sub-01_task-noise_scores.jsonpreprocessing_01b_otpApply oversampled temporal projection took 2.3 min over 2 calls completed 2026-10-16 03:26:36 writes: <deriv_root>/sub-01/meg/sub-01_task-localizer_proc-otp_raw.fif <deriv_root>/sub-01/meg/sub-01_task-noise_proc-otp_raw.fifpreprocessing_03_maxfilterMaxwell-filter MEG data took 8.6 s over 4 calls completed 2026-10-16 03:26:45 writes: <deriv_root>/sub-01/meg/sub-01_allbads.tsv <deriv_root>/sub-01/meg/sub-01_task-localizer_proc-sss_raw.fif <deriv_root>/sub-01/meg/sub-01_task-noise_proc-otp_esssproj.fif <deriv_root>/sub-01/meg/sub-01_task-noise_proc-sss_raw.fifpreprocessing_04_frequency_filterApply low- and high-pass filters took 3.6 s over 2 calls completed 2026-10-16 03:26:49 writes: <deriv_root>/sub-01/meg/sub-01_task-localizer_proc-filt_raw.fif <deriv_root>/sub-01/meg/sub-01_task-noise_proc-filt_raw.fifpreprocessing_06a1_fit_icaFit ICA took 1.7 s completed 2026-10-16 03:26:51 writes: <deriv_root>/sub-01/meg/sub-01_proc-icafit_epo.fif <deriv_root>/sub-01/meg/sub-01_proc-icafit_ica.fifpreprocessing_06a2_find_ica_artifactsFind ICA artifacts took 14.6 s completed 2026-10-16 03:27:05 writes: <deriv_root>/sub-01/meg/sub-01_proc-ica+ecg_ave.fif <deriv_root>/sub-01/meg/sub-01_proc-ica+eog_ave.fif <deriv_root>/sub-01/meg/sub-01_proc-ica_ica.fifpreprocessing_07_make_epochsExtract epochs took 1.5 s completed 2026-10-16 03:27:07 writes: <deriv_root>/sub-01/meg/sub-01_task-localizer_epo.fifpreprocessing_08a_apply_icaApply ICA took 16.2 s over 2 calls completed 2026-10-16 03:27:23 writes: <deriv_root>/sub-01/meg/sub-01_task-localizer_proc-ica_epo.fif <deriv_root>/sub-01/meg/sub-01_task-noise_proc-clean_raw.fifpreprocessing_09_ptp_rejectRemove epochs based on PTP amplitudes
  """ds003392: hMT+ Localizer (OTP + Maxwell filter).

See [OpenNeuro](https://openneuro.org/datasets/ds003392) for more information.
This config tests implementation of oversampled temporal projection followed by maxwell
filtering and subsequent preprocessing steps.
"""

from mne.transforms import translation

bids_root = "~/mne_data/ds003392"
deriv_root = "~/mne_data/derivatives/mne-bids-pipeline/ds003392_otp_mxw"
ignore_warnings = [
    "Internal Active Shielding data",  # until MNE-BIDS releases a fix for ERM finding
]
subjects = ["01"]

task = "localizer"

# use oversampled temporal projection to clean sensor noise
use_otp_denoising = True
otp_duration = 10.0
# for OTP testing purposes, set to True
find_flat_channels_meg = True
find_noisy_channels_meg = True
use_maxwell_filter = True
mf_extra_kws = {"bad_condition": "warning"}
ch_types = ["meg"]
mf_esss = 1
# translation args should be x, y, z as scalar (int or float)
mf_destination = translation(z=0.04)

mf_cal_missing = "warn"
mf_ctc_missing = "warn"

l_freq = 1.0
h_freq = 40.0
raw_resample_sfreq = 250
crop_runs = (0, 20)

# Artifact correction
spatial_filter = "ica"
process_raw_clean = False
ica_algorithm = "picard-extended_infomax"
ica_max_iterations = 1000
ica_l_freq = 1.0
ica_n_components = 0.99

# Epochs
epochs_tmin = -0.2
epochs_tmax = 1.0
baseline = (None, 0)

# Conditions / events to consider when epoching
conditions = ["coherent", "incoherent"]

  Platform             Linux-7.0.0-1004-aws-x86_64-with-glibc2.43 (X11)
Python               3.14.4 (main, May 12 2026, 13:57:53) [GCC 15.2.0]
Executable           /home/circleci/python_env/bin/python3
CPU                  AMD EPYC 9R45 (2 cores)
Memory               7.6 GiB

Core
├☑ mne               1.14.0.dev112+g8f498626a (development, latest release is 1.13.2)
├☑ numpy             2.5.4 (OpenBLAS 0.3.34.106.0 with 2 threads via pthreads)
├☑ scipy             1.18.1
└☑ matplotlib        3.11.2 (backend=agg)

Numerical (optional)
├☑ scikit-learn      1.9.1
├☑ threadpoolctl     3.7.0
├☑ numba             0.68.0
├☑ nibabel           5.4.2
├☑ pandas            3.0.6
├☑ h5io              0.2.5
├☑ h5py              3.16.0
└☐ unavailable       nilearn, dipy, openmeeg, python-picard, jamica, cupy

Visualization (optional)
├☑ pyvista           0.49.1 (OpenGL 4.5 (Core Profile) Mesa 26.0.8-1ubuntu0.3 via llvmpipe (LLVM 21.1.8, 256 bits))
├☑ pyvistaqt         0.13.1
├☑ vtk               9.7.1
├☑ qtpy              2.4.3 (PySide6=6.12.0)
└☐ unavailable       ipympl, pyqtgraph, mne-qt-browser, ipywidgets, trame, trame_client, trame_server, trame_pyvista, trame_vtk, trame_vuetify

Ecosystem (optional)
├☑ mne-bids          0.21.0.dev10+ga582be8f8
├☑ mne-icalabel      0.10.0
├☑ mne-bids-pipeline 1.11.0.dev86+ge2a34cf44
├☑ autoreject        0.6.0.dev2+g2f72b264
├☑ eeglabio          0.1.4
├☑ edfio             0.4.18
├☑ curryreader       0.1.2
├☑ mffpy             0.11.0
├☑ pybv              0.8.1
├☑ defusedxml        0.7.1
└☐ unavailable       mne-nirs, mne-features, mne-connectivity, neo, pymef, antio