-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
Description of the problem
I'm trying to export a raw file, that I constructed to be exported via mne-bids
mne.export.export_raw("~/sub-016_gap_test.set", raw,overwrite=True)

mne_bids.write_raw_bids(raw, mne_bids.BIDSPath(subject="016",task="test",root="~/bids_test"), overwrite=True, verbose=False,symlink=False, format= "EEGLAB",allow_preload=True)
I'm getting close to my memory limit (why do I need 38GB to safe a 2h EEG File anyway 🤷). What's happening in mne-bids vs. mne.raw?
Steps to reproduce
`mne.export.export_raw("~/sub-016_gap_test.set", raw,overwrite=True)`
vs.
`mne_bids.write_raw_bids(raw, mne_bids.BIDSPath(subject="016",task="test",root="~/bids_test"), overwrite=True, verbose=False,symlink=False, format= "EEGLAB",allow_preload=True)`
---
I could try to share a dataset if absolutely necessaryExpected results
both methods should have the same memory footprint
Actual results
mne-bids takes much more RAM to save
Additional information
Platform Linux-5.15.0-121-generic-x86_64-with-glibc2.31
Python 3.11.7 (main, Dec 15 2023, 18:12:31) [GCC 11.2.0]
Executable /home/recorder/miniconda3/envs/autobids-new/bin/python
CPU AMD Ryzen 3 5300U with Radeon Graphics (8 cores)
Memory 38.0 GiB
Core
├☑ mne 1.9.0 (latest release)
├☑ numpy 2.2.4 (unknown linalg bindings (threadpoolctl module not found: No module named 'threadpoolctl'))
├☑ scipy 1.15.2
└☑ matplotlib 3.10.1 (backend=module://matplotlib_inline.backend_inline)
Numerical (optional)
└☐ unavailable sklearn, numba, nibabel, nilearn, dipy, openmeeg, cupy, pandas, h5io, h5py
Visualization (optional)
└☐ unavailable pyvista, pyvistaqt, vtk, qtpy, ipympl, pyqtgraph, mne-qt-browser, ipywidgets, trame_client, trame_server, trame_vtk, trame_vuetify
Ecosystem (optional)
├☑ mne-bids 0.16.0
├☑ eeglabio 0.0.3
├☑ edfio 0.4.6
├☑ pybv 0.7.6
└☐ unavailable mne-nirs, mne-features, mne-connectivity, mne-icalabel, mne-bids-pipeline, neo, mffpy
Metadata
Metadata
Assignees
Labels
No labels
