Skip to main content

refsig 1.0.5

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.

Metadata

Release files for refsig 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for refsig 1.0.5
File Size Uploaded Provenance Actions
refsig-1.0.5.tar.gz 3.7 kB Without provenance Details for refsig-1.0.5.tar.gz

Release files / refsig-1.0.5.tar.gz

Download URL refsig-1.0.5.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
731e7b7a18897b6ee049bc247cfade47bceecec48a3b01e2c23cb136899dddf4
BLAKE2b-256 checksum
How to use checksums
4d69f43c3fa5dd6ff898e2cb115150f97ed93486c74533fdf5225348ae1d6a48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for refsig 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.5 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page