Giter VIP home page Giter VIP logo

n170-erp-detection's Introduction

N170-ERP-Detection

Wavelet Based N170 ERP detection algorithm for EEG analysis

Author : Arun Kumar A

Institute : Department of Physics, St.Thomas College, Kozhencherry, Kerala, India.

Email : [email protected]

03-05-2013

File Descriptions :

  1. detectERP.m --> Main code

    1. m1.m --> Proximity detection module 1

    2. m2.m --> Proximity detection module 2

    3. m3.m --> Segmentation module

    4. m4.m --> Plot module

    5. mdec.m --> Scale decision function

    6. teststat.m --> Scale decision function submodule

    7. m2_test.m --> Updated Proximity detection module 2 (Updated)

    8. n170sample1.csv --> Sample data 1 with N170

    9. n170sample2.csv --> Sample data 2 with N170

    10. restsample1.csv --> Sample data 3 with no N170

    11. restsample2.csv --> Sample data 4 with no N170

How to test the code

The detection pipeline is composed of 6 m-codes. The 2 stage execution (Proximity detection & Sgmentation) are put into a single code called detectERP.m so that the user need not bother about the steps. The detectERP code accepts 3 user inputs which are data filename (a text file with single row or column vector), wavelet name and sampling frequency of the signal in Hz. The output argument is the start and end points of the N170 in data point number.

To test the code type as shown below in the MATLAB prompt with any of the sample data.

Example:

    detectERP('n170sample2.csv','sym5',512)

The output shows the plot with markers (*) showing the start and end of the detected ERP. The green marker points the beginning and red the end of the ERP. The markers may be shifted in the plot due to the scaling effects of the MATLAB figure window. The actual code had arrow markers, but has been modified as asterisk due to some unknown compatibility issue with MATLAB 2012a version. This problem is currently fixed and will be updated soon.

n170-erp-detection's People

Contributors

arunaniyan 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.