Version 0.10.0.dev54+g3e4eed7e2 (development) (2026-11-05)#
Dependencies#
Update minimum MNE version to 1.8, by Thomas Binns. (#475)
Update minimum Python version to 3.11, by Thomas Binns. (#475)
Updated minimum for:
Core dependency
numpy >= 2.1Core dependency
pandas >= 2.2Core dependency
scikit-learn >= 1.5Core dependency
scipy >= 1.14Optional dependency
nibabel >= 5.2Optional dependency
nilearn >= 0.10Optional dependency
matplotlib >= 3.9Optional dependency
mne-qt-browser >= 0.6Optional dependency
pyvista >= 0.44Optional dependency
pyvistaqt >= 0.11
Changes made automatically by mne[bot]. (#482)
Move matplotlib from an optional to a core dependency, by Thomas Binns. (#500)
Move developer dependencies from end-user extras groups to developer-facing groups, by Thomas Binns. (#500)
Remove
guiextras group and consolidate optional dependencies into a newfullextras group (uses PySide6; the equivalentfull-pyqt6group using PyQt6 is also available), by Thomas Binns. (#500)Updated minimum for:
Optional dependency
nibabel >= 5.3
Changes made automatically by mne[bot]. (#502)
Updated minimum for:
Core dependency
netCDF4 >= 1.7.2Core dependency
tqdm >= 4.66Core dependency
xarray >= 2024.10Optional dependency
h5netcdf >= 1.4Optional dependency
joblib >= 0.8
By Thomas Binns. (#516)
Added optional dependency
h5py >= 3.12, by Thomas Binns. (#516)
Bugfixes#
Fix channel selection to respect
selectionparameter as"seeds"or"targets"whenpicksis notNoneinplot_connectivity(),plot_spectral_connectivity(),plot_temporal_connectivity(), andplot_spectrotemporal_connectivity(), by Thomas Binns. (#467)Fix bug in
spectral_connectivity_time()wherefaverage=Truewith frequency bands included frequencies beyond the requestedfmax, by Marieke De Vylder. (#479)Ensure output of CaCoh, MIC, and Granger causality methods in
spectral_connectivity_epochs()andspectral_connectivity_time(), output of CaCoh and MIC methods inCoherencyDecomposition, and output ofsymmetric_orth(), is deterministic, by Thomas Binns. (#498)Fix metadata being discarded when appending connectivity objects, by Don Yin. (#521)
Fix erroneous Nyquist checks when passing decimated TFR data to
spectral_connectivity_time(), by Don Yin. (#529)
API changes by deprecation#
Return lower-triangular connectivity data by default from
spectral_connectivity_epochs(),spectral_connectivity_time(),envelope_correlation(),phase_slope_index(),phase_slope_index_time(), andwsmi(), by Thomas Binns. (#461)Replace
indices=Nonewithindices='all'as an alias for all-to-all connectivity in connectivity containers and all connectivity-computing functions with anindicesparameter, by Thomas Binns. (#461)Remove
'symmetric'as an option forindicesin connectivity containers, by Thomas Binns. (#461)Require
indicesto be specified as tuples of array-likes for all multivariate methods inspectral_connectivity_epochs()andspectral_connectivity_time(), by Thomas Binns. (#461)Require
indicesto be specified as tuples of array-likes in connectivity container whenn_componentsis provided, by Thomas Binns. (#461)Remove deprecated
n_timesparameter frommake_signals_in_freq_bands(), by Thomas Binns. (#469)Remove deprecated
make_surrogate_datafunction, by Thomas Binns. (#470)Make
check_indicesvalidation helper function private, by Thomas Binns. (#491)Make
envelope_correlation()return anEpochConnectivityobject instead of aEpochTemporalConnectivityobject, by Thomas Binns. (#497)Rename
combinemethod of connectivity containers tocombine_epochs(), by Thomas Binns. (#505)Remove
appendandcombinemethods,n_epochsproperty, andeventsandevent_idattributes from non-epoched connectivity containers, by Thomas Binns. (#506)Isolate
n_epochs_usedproperty to non-epoched connectivity containers, by Thomas Binns. (#506)Rename the
node_in -> node_outcoordinate inConnectivitycontainers toconnections, and replace then_estimated_nodesattribute withn_connections, by Thomas Binns. (#509)No longer allow
times=Nonewhen creatingConnectivityobjects with a time dimension, by Thomas Binns. (#512)Pass the
random_stateparameter of thesimulate()method of connectivity containers tonumpy.random.default_rng()instead ofnumpy.random.RandomState, by Thomas Binns. (#530)
New features#
Add
learn_graph()for estimating sparse functional connectivity graphs directly from signal smoothness, by Payam S. Shabestari. (#439)Add
plot_connectivity(),plot_spectral_connectivity(),plot_temporal_connectivity(), andplot_spectrotemporal_connectivity()for visualising connectivity results, by Thomas Binns. (#460)Add
missingparameter to control the filling of missing values in dense connectivity matrices in theget_data()method of connectivity containers, for connectivity methods where these values cannot be determined from the lower-/upper-triangular elements, by Thomas Binns. (#461)Add
'lower','upper', and'all'as options forindicesin connectivity containers and all connectivity-computing functions with anindicesparameter, by Thomas Binns. (#461)Add automatic filling of missing values in dense connectivity matrices from existing lower-/upper-triangular elements in the
get_data()method of connectivity containers, for eligible connectivity methods, by Thomas Binns. (#461)Plot multivariate components as separate figures in
plot_connectivity(), by Thomas Binns. (#467)Speed up
spectral_connectivity_epochs()for Morlet wavelet (cwt_morlet) spectra by conjugating each signal once rather than for every connection, by Eric Larson. (#487)Add
combine_freqs()andcombine_times()methods to connectivity containers for combining over frequencies and times, by Thomas Binns. (#505)
Other changes#
Deprecate method names in favour of the following:
phase-slope-index→psienvelope correlation→env_corrandenv_corr_orth(depending on orthogonalization)SMI→smiwSMI→wsmiVAR(1)andVAR(p)→varTime-varying VAR(1)andTime-varying VAR(p)→var_dynamic
by Thomas Binns. (#494)
Clarify supported random number generator seeds in dataset helpers and connectivity simulation by Okan Tiktas. (#520)