- MNE version: 1.8.0
- operating system: macOS Sequoia
Hello MNE community,
I’m trying to create a simulation using a mixed source model and am having trouble adding subcortical data.
For example:
- I define a subcortical label (e.g.,
Left-Hippocampus
). - I successfully add cortical data to my simulation.
- I attempt to add subcortical data using:
subcort_label = mne.get_volume_labels_from_src(fwd["src"], subject, subjects_dir)[0]
source_simulator.add_data(subcort_label, source_time_series, events)
- I try simulating raw data using
mne.simulation.simulate_raw(info, source_simulator, forward=fwd)
and encounter the following error:
RuntimeError: Mismatch between number of source spaces (3) and STC vertices (2)
There was a related thread two years ago. Have there been updates or solutions since then?