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

MVAR connectivity and example #10

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

mbillingr
Copy link

This PR implements connectivtiy based on MVAR using the SCoT toolbox. It was originally written during the June 2014 coding sprint. For details see mne-tools/mne-python#1356.

I have squashed the old commits and adjusted them to work correctly with mne-sandbox.

@cbrnr @agramfort @Eric89GXL @kingjr You may be interested in this :)

As a further step we could switch to a current version of SCoT. What do you think?

@agramfort
Copy link
Member

for the sandbox I think we can leave with an install from scot/master or scot on pypi if released.

travis will complain if scot breaks API

@mbillingr
Copy link
Author

I like that idea, because that means I can stop worrying about flake8 and scot :)

@coveralls
Copy link

Coverage Status

Coverage decreased (-43.6%) to 56.379% when pulling 5a6b947 on mbillingr:mvar-connectivity into e60d9ab on mne-tools:master.

@cbrnr
Copy link

cbrnr commented Apr 21, 2016

@mbillingr, don't stop worrying about coding style, we're gonna address this sooner or later in SCoT :-).

+1 for adapting to the latest SCoT version.

@coveralls
Copy link

Coverage Status

Coverage decreased (-39.09%) to 60.905% when pulling c28e517 on mbillingr:mvar-connectivity into e60d9ab on mne-tools:master.

@kingjr
Copy link
Member

kingjr commented Apr 23, 2016

ping me when travis' happy, I'll try to give it a try/review

@coveralls
Copy link

Coverage Status

Coverage decreased (-6.5%) to 93.517% when pulling 147b774 on mbillingr:mvar-connectivity into e60d9ab on mne-tools:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-6.3%) to 93.713% when pulling 2b426dd on mbillingr:mvar-connectivity into e60d9ab on mne-tools:master.

@coveralls
Copy link

coveralls commented Apr 26, 2016

Coverage Status

Coverage decreased (-4.9%) to 94.617% when pulling bbece5a on mbillingr:mvar-connectivity into 9906704 on mne-tools:master.

@mbillingr
Copy link
Author

@kingjr Travis is as happy as it will get at the moment. Feel free to review.

Is 100% coverage an imperative? I'd hate to test all the small branches in the visualization functions. 😄

@kingjr
Copy link
Member

kingjr commented Apr 26, 2016

@mbillingr ok, can it wait until next week?

Is 100% coverage an imperative? I'd hate to test all the small branches in the visualization functions. 😄

No, we generally aim for >95%-97% I think. The more the better of course

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.7%) to 96.749% when pulling 3589751 on mbillingr:mvar-connectivity into 9906704 on mne-tools:master.

@coveralls
Copy link

coveralls commented Apr 30, 2016

Coverage Status

Coverage decreased (-2.7%) to 96.749% when pulling 7baacab on mbillingr:mvar-connectivity into 9906704 on mne-tools:master.



# todo: I'm sure we can import generator from somewhere...
def _generator():
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - types.GeneratorType.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@coveralls
Copy link

coveralls commented May 5, 2016

Coverage Status

Coverage decreased (-2.6%) to 96.89% when pulling 910f7f7 on mbillingr:mvar-connectivity into 9906704 on mne-tools:master.

Martin Billinger and others added 12 commits May 23, 2016 13:27
misc

ENH: matrix-type connectivity visualization

ENH: node colors

moved plot_connectivity_matrix below plot_connectivity_circle

ENH: improved MVAR interface

rearranged function arguments

Improved MVAR example

fixed beta bandwidth

added scot external

improved documentation

added new functions to documentation

python 2 compatibility

added externals.scot to setup.py

updated scot package

Adjusted MVAR interface to new scot structure

updated scot

tried to delete plotting

scot: mne compatibility update

added tests for MVAR connectivity

fixed order of mean and abs

ENH: model order selection (cross-validated)

example cleanup

no testin for model order

eric's suggestions incorporated

ENH: circle plot show node names in the status bar

ENH: connectivity matrix shows node names and value in status bar

ENH: function to plot in/out connectivity for one seed

ENH: connectivity statistics!

fixed string type checking

mvar connectivity returns p_vals=None if no statistics done

adjusted test to new mvar_connectivity return values

updated scot (parallelization)

joblib support for mvar_connectivity

scot: fixed some parallelization issues

misc

added references

misc

adjusted default fig size to two circles

merged examples

fixed verbosity

fixed verbosity mne-tools#2

misc

fixed invalid ascii char

deprecation warning in numpy (scot upstream fix)

corrected newline at end of file

fixed utf-8 character
@coveralls
Copy link

coveralls commented May 23, 2016

Coverage Status

Coverage decreased (-2.6%) to 96.89% when pulling a038730 on mbillingr:mvar-connectivity into 91626fb on mne-tools:master.

@mbillingr
Copy link
Author

I've rebased to current master, which made travis very happy.

Anyone care to review? :)

@mbillingr mbillingr changed the title WIP: MVAR connectivity and example MVAR connectivity and example May 23, 2016
@wmvanvliet wmvanvliet changed the base branch from master to main September 2, 2022 11:09
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

Successfully merging this pull request may close these issues.

None yet

5 participants