Giter Site home page Giter Site logo

alexenge / hu-neuro-pipeline Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 3.0 789 KB

Single trial EEG pipeline at the Abdel Rahman Lab for Neurocognitive Psychology, Humboldt-Universität zu Berlin

Home Page: https://hu-neuro-pipeline.readthedocs.io

License: MIT License

Python 100.00%
eeg eeg-analysis eeg-data eeg-signals eeg-signals-processing neuroscience psychology python-library reproducibility

hu-neuro-pipeline's Introduction

Welcome 👋

I’m Alex and I’m currently a PhD student in Psychology.

  • 🧑🏻‍💻 R & Python
  • 🔬 Semantic processing & visual perception
  • 🧠 EEG & fMRI data
  • 🏃🏻 Distance runner

hu-neuro-pipeline's People

Contributors

alexenge avatar kirstenstark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hu-neuro-pipeline's Issues

Improve participant-specific returns in `config`

  • Empty auto_bad_channels should be [], not None

  • Return indices excluded ICA components per participant

  • Return dict with participant IDs (instead of list) for auto_bad_channels, rejected_epochs, excl_ica_components

Improve default options

  • Get rid of reject_flat for simplicity
  • Increase lowest TFR frequency to 5 Hz to avoid edge effects and have a sufficiently long baseline (see, e.g., recommendations by Roach & Mathalon, 2008)
  • Adjust wavelet number of cycles accordingly and align better with EEGLAB (3 to 10 cycles in steps of 0.5)

Make input arguments more consistent

  • baseline should become baseline_tmin and baseline_tmax

  • Use auto instead of ICA method (e.g., 'fastica') for ocular_correction

  • Update docs/ accordingly

Add boilerplate

pipeline() should print some paragraphs for the methods section as is done, e.g., in NiMARE.

R examples don't work for single components

Because R converts c("some_string") to "some_string, which makes pipeline add an additional layer of lists, which produces an error when roi was already specified as an (actual) list. Sigh.

Prettify logging

Get rid of the many info messages created, e.g., for the HTML reports

Missing EEG epochs should go into the config

Specifying triggers_column automatically gets rid of trials which are in the log file but not in the EEG, but right now it only prints this information on screen. The missing trial indices should also go into a separate field in the config (similar to rejected_epochs).

Simplify return of evokeds

pipeline() should return a single DataFrame of evokes instead of a dict. Makes it more predictable in the case of one vs. multiple condition_cols and easier to use the outputs in R.

Add time-frequency analysis

Do time-frequency decomposition on unfiltered epochs with Morlet wavelets; export as single trial power (for LMMs; needs new dict of frequency bands of interest) + as evokeds (for CBPTs).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.