Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSOC Cleanup: Add EpochsTFR support to spectral_connectivity_epochs() and spectral_connectivity_time() #225

Open
tsbinns opened this issue Aug 8, 2024 · 0 comments

Comments

@tsbinns
Copy link
Collaborator

tsbinns commented Aug 8, 2024

Discussed in call with @wmvanvliet & @larsoner. Most likely I would not be able to address this until ~November.

Part of the GSoC project was to add tools for generating surrogate connectivity data (#223). As this acts by shuffling Fourier coefficients, part of the work involved adding EpochsSpectrum objects as a valid data type for spectral_connectivity_epochs() (#220). However, this only addresses the Fourier/Welch and multitaper spectral modes of spectral_connectivity_epochs(), ignoring the Morlet wavelet approach, as well as spectral_connectivity_time() entirely.

To finalise the GSoC work, support should be added for EpochsTFR objects in spectral_connectivity_epochs() and spectral_connectivity_time(). Thankfully this should be easier than adding EpochsSpectrum was (mne-python#12747), since EpochsTFR already support Fourier coefficients.

This would also go some way towards addressing #126 (only 1.5 years later...), since you could pass an EpochsTFR object with time-freq. Fourier coeffs. from the multitaper mode into spectral_connectivity_epochs().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant