"""Funloc data."""

from pathlib import Path

data_root = Path("~/mne_data").expanduser().resolve()
bids_root = data_root / "MNE-funloc-data"
deriv_root = data_root / "derivatives" / "mne-bids-pipeline" / "MNE-funloc-data"
subjects_dir = bids_root / "derivatives" / "freesurfer" / "subjects"
task = "funloc"
ch_types = ["meg", "eeg"]
data_type = "meg"

# filter
l_freq = None
h_freq = 50.0
# maxfilter
use_maxwell_filter: bool = True
crop_runs = (40, 190)
mf_st_duration = 60.0
# SSP
spatial_filter = "ssp"
process_raw_clean = False
ssp_ecg_channel = {"sub-01": "MEG0111", "sub-02": None}
n_proj_eog = dict(n_mag=1, n_grad=1, n_eeg=2)
n_proj_ecg = dict(n_mag=1, n_grad=1, n_eeg=0)


eog_channels = {"default": None, "sub-02": ["EOG061"]}

# Epochs
epochs_tmin = -0.2
epochs_tmax = 0.5
epochs_decim = 5  # 1000 -> 200 Hz
baseline = (None, 0)
conditions = [
    "auditory/standard",
    # "auditory/deviant",
    "visual/standard",
    # "visual/deviant",
]
decoding_time = False
cov_rank = dict(tol_kind="relative", tol=1e-4)

# contrasts
# contrasts = [("auditory", "visual")]

  Platform             Linux-6.8.0-1040-aws-x86_64-with-glibc2.35
Python               3.13.11 (main, Dec  6 2025, 01:10:48) [GCC 11.4.0]
Executable           /home/circleci/.pyenv/versions/3.13.11/bin/python3.13
CPU                  Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz (36 cores)
Memory               8.0 GiB

Core
├☑ mne               1.12.0.dev137+g0e4e845f1 (unable to check for latest version on GitHub, unknown error: HTTP Error 403: rate limit exceeded)
├☑ numpy             2.4.4 (OpenBLAS 0.3.31.188.0 with 2 threads)
├☑ scipy             1.17.1
└☑ matplotlib        3.10.8 (backend=agg)

Numerical (optional)
├☑ sklearn           1.8.0
├☑ numba             0.65.0
├☑ nibabel           5.4.2
├☑ pandas            3.0.2
├☑ h5io              0.2.5
├☑ h5py              3.16.0
└☐ unavailable       nilearn, dipy, openmeeg, cupy

Visualization (optional)
├☑ pyvista           0.47.1 (OpenGL 4.5 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.3 via llvmpipe (LLVM 15.0.7, 256 bits))
├☑ pyvistaqt         0.11.3
├☑ vtk               9.6.1
├☑ qtpy              2.4.3 (PySide6=6.11.0)
└☐ unavailable       ipympl, pyqtgraph, mne-qt-browser, ipywidgets, trame_client, trame_server, trame_vtk, trame_vuetify

Ecosystem (optional)
├☑ mne-bids          0.19.0.dev29+g30330ad36
├☑ mne-icalabel      0.8.1
├☑ mne-bids-pipeline 1.10.0.dev177+g0bc5d38fa
├☑ eeglabio          0.1.3
├☑ edfio             0.4.13
├☑ curryreader       0.1.2
├☑ pybv              0.7.6
├☑ defusedxml        0.7.1
└☐ unavailable       mne-nirs, mne-features, mne-connectivity, neo, mffpy, pymef, antio