Git Product home page Git Product logo

icablinkmetrics's Introduction

icablinkmetrics

An EEGLAB extension that is designed for automated/semi-automated selection of ICA components associated with eyeblink artifact using time-domain measures. The toolbox is based on the premises that 1) an ICA component associated with eye blinks should be more related to the recorded eye blink activity than other ICA components, and 2) removal of the ICA component associated with eye blinks should reduce the eye blink artifact present within the EEG following back projection.

Other than the EEG input, the only required input for the function is specification of the channel that exhibits the artifact (in most cases the VEOG electrode). This can either be stored within the EEG.data matrix or within EEG.skipchannels. It will then identify eye-blinks within the channel to be used for computation of the metrics listed below. If you are not sure what channel to choose, you can let the function determine the channel where the artifact maximally presents but this does slow the function down.

Background

The premise and validation of this approach is detailed in: Pontifex, M. B., Miskovic, V., & Laszlo, S. (2017). Evaluating the efficacy of fully automated approaches for the selection of eyeblink ICA components. Psychophysiology, 54, 780-791. http://education.msu.edu/kin/hbcl/_articles/Pontifex_2017_EvaluatingTheEfficacyOf.pdf

Installation

To use these functions, click the "Clone or download" button on the right and then select "Download ZIP". Once the file has downloaded, unzip the package and then copy the icablinkmetricsX.X file into the EEGLAB plugins folder.

Once you restart EEGLAB, under Tools you should now see "Compute icablinkmetrics" listed as an option.

icablinkmetrics's People

Contributors

mattpontifex avatar

Watchers

 avatar  avatar

Forkers

aung2phyowai

icablinkmetrics's Issues

Error when trying to run icablinkmetrics

Hii,

I get the following error when I am trying to run icablinkmetrics3.2 with EEGLAB:

icablinkmetrics(). Artifact latency information not provided. Running eyeblinklatencies() on inputted artifact channel.
eyeblinklatencies(): Determining Eyeblink Latencies - | | 0%

Unrecognized function or variable 'WinStop'.

Error in eyeblinklatencies (line 108)
[step, strLength] = commandwaitbar(WinStop, WinStop, step, nSteps, strLength);

Error in icablinkmetrics (line 101)
r.ArtifactLatencies = eyeblinklatencies('BlinkActivity', r.ArtifactChannel, 'SampleRate', INEEG.srate,
'Threshold', r(1).TemplateThreshold);

Error in pop_icablinkmetrics (line 83)
OUTEEG.icaquant =
icablinkmetrics(INEEG,'ArtifactChannel',INEEG.data(structout.EEGDATA-1,:),'MetricThresholds',[structout.Correlation,structout.Convolution,structout.PercentReduction],'VisualizeData',
'True');

Error while evaluating Menu Callback.

Thank you in advance

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.