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

pyAutomagic for automatic EEG preprocessing and quality assessment #2

Open
clairezurn opened this issue Nov 15, 2019 · 7 comments
Open
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@clairezurn
Copy link

What does this implement/fix?

There is a need for automatic and replicable preprocessing and evaluation of data quality in EEG to increase transparency in the field. A package for this purpose, Automagic, was developed in Matlab (https://github.com/methlabUZH/automagic). It provides the user an easy way to set preprocessing and quality evaluation parameters for an entire project, and automatically execute. The quality metrics used are all based on variance of some type in the data, and these metrics are used to give each recording a rating of "good", "ok", or "bad". All results, figures, and log files, are then saved.

Describe your solution

The suggested solution, pyAutomagic, is the movement of Automagic's functionality to python, specifically compatible with mne-python and mne-bids. The outcome would be a repository in mne-tools.

Additional information

More info on the original (MATLAB) package functionality can be found in the paper published (https://www.biorxiv.org/content/10.1101/460469v3.full).

@adam2392 adam2392 added enhancement New feature or request question Further information is requested labels Nov 15, 2019
@adam2392
Copy link

Let's also figure out a test dataset perhaps as well. Can we by any chance get one with expected output in MATLAB automagic to test against? Definitely we probably don't need exact matching, but would serve as a benchmark.

In addition, a solution should include (ideally) to be worked on w/ @saulmezac @deepsoni1996 :

  1. some documentation for reference on what functions do, and meta-summary of the pipeline
  2. some tutorials on how to run full pipeline, sub-parts of the pipeline, and then example analysis at the end
  3. design change(s) summary compared to automagic.

@nickilanger any suggestions here?

@nickilanger
Copy link

nickilanger commented Nov 18, 2019 via email

@clairezurn
Copy link
Author

We definitely need a BIDS compliant dataset to test on. The ones here (https://github.com/bids-standard/bids-examples) have empty data files, so are only helpful to the extent of making sure we are querying files correctly. @adam2392 or @nickilanger please let me know if you have suggestions on that. If nothing else already exists, I'll have to make this myself. I will begin the summary of changes compared to automagic.

@nickilanger
Copy link

nickilanger commented Nov 18, 2019 via email

@adam2392
Copy link

Hi Nick,

Sounds great. Would you be able to put it in the Dropbox you shared with Jovo and I? This is publicly available, and we can include it inside the repo?

@clairezurn
Copy link
Author

Any other feedback on phrasing this for submitting an issue to the real mne-python repository? I'd like to do so as soon as possible. I'll plan on mentioning in solution that it will be validated with the same dataset used for the Automagic repo and that documentation and tutorials will be included.

@adam2392
Copy link

This is good. Include all the comments and mention and link the datasets and original paper and you’re good.

Tag me so I can follow the convo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants