Skip to main content

Package for obtaining the referential signal from a set of iEEG data

Project description

The refsig package works as tool for identifying the referential signal from a set of unipolar iEEG data.

Package contains 3 methods for obtaining the reference:

(1) The first method creates the referential signal for the given iEEG data set using Method I from [1]. It does so using a comparative method based on correlation coefficient among the ICs of unipolar and bipolar montage. The method does not calculate the referential signal, however it merely locates one unipolar independent component, which has the lowest correlation coefficient with any bipolar IC.

(2) Second method creates the referential signal of an iEEG set of data using method II described in [1]. The difference from method I is that this method is solely based on calculating the reference instead of locating it amongst unipolar ICs. This method has proven to be the most accurate and fastest by the experimental results in [1] as well as in our own testing. Therefore this method should be used for obtaining the reference.

(3) The last method is a calculation of mere average reference from the given set of iEEG data. This method is the fastest one, however not as accurate as the methods based on ICA.

For import, use:

-> from refsig import getref

Each method is then initialized by:

(1) -> getref.find(unipol, N_iterations = 20, p = 0.2)

(2) -> getref.calc(unipol) <–this one should be used!

(3) -> getref.avg(unipol)

where unipol is a m*k set of iEEG data, where m is the number of channels and k is the number of samples.

All methods return the referential signal as a linear vector 1xk.

Based on:

[1] HU, S., STEAD, M., WORRELL, G. A. Automatic identification and removal of scalp reference signal for intracranial EEGs based on independent component analysis. IEEE Transactions on Biomedical Engineering, 2007.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

refsig-1.0.5.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file refsig-1.0.5.tar.gz.

File metadata

  • Download URL: refsig-1.0.5.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for refsig-1.0.5.tar.gz
Algorithm Hash digest
SHA256 731e7b7a18897b6ee049bc247cfade47bceecec48a3b01e2c23cb136899dddf4
MD5 16e2a87627d1b54b4a7b1e19e4e9bf7f
BLAKE2b-256 4d69f43c3fa5dd6ff898e2cb115150f97ed93486c74533fdf5225348ae1d6a48

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page