GithubHelp home page GithubHelp logo

cuic0808 / eeg-analysis-public Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dijunquant/eeg-analysis-public

0.0 0.0 0.0 3.58 MB

EEG-analysis-HMM

Shell 0.12% Python 0.52% MATLAB 1.82% Jupyter Notebook 97.54%

eeg-analysis-public's Introduction

EEG-analysis-public

This pipeline process the raw EEG data per subject in .set, .fdt, preprocess and spectral transform with Matlab script. Then conducted modeling fitting and analysis with Python scripts.

1. Matlab Preprocessing

Main script: yy_auto_process.m

1.1. run with steps to output feature data per trial by sources

includeSteps={'pre','asr','interp','rmEvt','epoch','ica','mara','stratify','gICA','wavelet'};

1.2. run with steps run with steps to output feature data per trial by channels

includeSteps={'wavelet_chan'};

2. Python Processing

2.1. Normalized power envelope by source per individual, output centered feature data (data_process.py)

2.2. Fit HMM with full mean and covariance matrix (hmm.py) from 2.1

2.3. Normalized power envelope by channel per individual, output centered channel data (data_process.py)

2.4. Infer hidden states using decoded trials (from 2.2) and the processed power envelopes by channel (from 2.3). Generate all feature mean by state.(infer_state.py).

2.5. Make topography plots for state and frequency from 2.4. (makeplots_bydata.py)

2.6. Further analysis with hmm_analysis_13.ipynb

eeg-analysis-public's People

Contributors

dijunquant avatar

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.