question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GSoC 2021 - Refactoring mne.connectivity into mne-connectivity repository

See original GitHub issue

This issue is meant to track the progress of refactoring existing functionality inside mne-python’s “connectivity” sub-module into an entirely new repository.

  • Create new repository, mne-connectivity, inside mne.tools (I think I have access)
  • Get CI and basic GH action tools setup, based on mne-bids and mne-python CI
  • Refactor existing code into the mne-connectivity repo and include a validation notebook that validates that code in this refactored setting matches what is here

To track detailed progress inside mne-connectivity, such as getting CI up and running, I’ll point to issues in that specific repository.

Higher level goals

I think @agramfort spoke about this a bit with me and I agree: there is really no “great way” of saying which algorithm or model is better in certain instances. There are many “proposed connectivity algorithms”, whether they are time-domain, or free-domain based. So the metric moving forward in this new repo is to at least standardize what you should expect on a dataset.

Given 1-3 datasets, running a specific algorithm, one should expect certain performance or values. The current goal is to leverage openneuro and pull datasets for doing this in CI.

Reference Issues

#9060 #9030 #8729

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
larsonercommented, May 21, 2021

@adam2392 I read this only after making my comment in the other repo, which seems to echo almost 1:1 what you wrote here – so sounds good to me 😃

The current goal is to leverage openneuro and pull datasets for doing this in CI.

I would start smaller and try using toy or simulated datasets – preferably there are some of these in the reference papers. Once that works, examples that build on CircleCI to give outputs for real-data inputs are great, but I wouldn’t start from these if possible because debugging them will be harder both in terms of eyeballing errors and in terms of CI time (they are going to require a big download and a long processing time compared to a toy example).

0reactions
wmvanvlietcommented, Jul 8, 2021

This sounds like something I could merge the conpy module into.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MNE-Connectivity - Python GSoC - Blogs
Rather than having connectivity be a sub-module within MNE-Python, this project proposes i) refactoring the mne.connectivity sub-module into its own repository ...
Read more >
mne-connectivity/README.rst at main - GitHub
MNE -Connectivity is an open-source Python package for connectivity and related measures of MEG, EEG, or iEEG data built on top of the...
Read more >
What was new in previous releases? — MNE-Connectivity 0.4 ...
In July, 2021, mne.connectivity submodule was ported over from the MNE-Python repo into this repository, mne-connectivity as v0.1. Starting ...
Read more >
Fail to install MNE-connectivity, ValueError: did not find ...
When I install mne-connectivity in my laptop using pip install --user mne-connectivity , I ran into an error: Collecting mne-connectivity ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found