Skip to main content

A Python package for iEEG data processing.

Project description

IEEG_Pipelines

A repo of current preprocessing pipelines for the Cogan Lab

Brain

Documentation

Documentation Status

Lab Wiki

Pipeline Functionality

Python (3.10 - 3.13) on Windows/Linux/Mac

MATLAB latest

codecov

Installation

MATLAB

  1. Install MATLAB

  2. Clone this repository into your userpath (Documents/MATLAB by default)

  3. Run commands:

    path = fullfile(userpath, 'IEEG_Pipelines', 'MATLAB');
    addpath(genpath(path));
    

Python

Version 3.10 - 3.13 supported

Conda

  1. Install Anaconda

  2. Create an anaconda environment with python and pip packages installed

    conda create -n <YOUR_NAME> python<3.14 pip
    
  3. Activate the environment

    conda activate <YOUR_NAME>
    
  4. Run

    pip install ieeg
    

Pip

  1. Install Python

  2. Run:

    python -m venv <PATH TO VENV>/<YOUR_NAME>
    source activate <PATH TO VENV>/<YOUR_NAME>
    python -m pip install ieeg
    

Usage

MATLAB (INCOMPLETE)

  1. Load .dat file using convert_OpenE_rec2mat.m
  2. Create the ieeg data structure from the ieegStructClass.m
  3. TBD

Python (INCOMPLETE)

  1. Load BIDS files from BIDS directory using pybids

    from bids import BIDSLayout
    import ieeg
    layout = BIDSLayout(<BIDS_root>)
    data = ieeg.io.raw_from_layout(layout)
    
  2. Perform line noise filtering

  3. Check Spectrograms

  4. Plot the high gamma responses

  5. Run the cluster correction and permutation test

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

ieeg-0.6.0.tar.gz (822.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ieeg-0.6.0-cp310-cp310-musllinux_1_2_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

ieeg-0.6.0-cp310-cp310-musllinux_1_2_i686.whl (2.6 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

ieeg-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

ieeg-0.6.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (2.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

File details

Details for the file ieeg-0.6.0.tar.gz.

File metadata

  • Download URL: ieeg-0.6.0.tar.gz
  • Upload date:
  • Size: 822.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ieeg-0.6.0.tar.gz
Algorithm Hash digest
SHA256 7e63ed1a7d66ee3634197884899301b3d7dba7e795ecd39dd3ccaf43de908246
MD5 d3e066dfcb2a1263fda68a3b531564ea
BLAKE2b-256 1c7702ede99787de448481916840a216088da8f492469f0c63f7dc7a62bb834d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ieeg-0.6.0.tar.gz:

Publisher: Package.yml on coganlab/IEEG_Pipelines

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ieeg-0.6.0-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ieeg-0.6.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4365597dbf38d01d3f59cd0baaefb1e19f6875587ef690c902717067b43ee2df
MD5 47bcb5fd77892c8037c2df6518254548
BLAKE2b-256 1613f4294cea92c21fe16b6df861ad7f5b9a644a2e46c2c6381e4a4542759e4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ieeg-0.6.0-cp310-cp310-musllinux_1_2_x86_64.whl:

Publisher: Package.yml on coganlab/IEEG_Pipelines

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ieeg-0.6.0-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

  • Download URL: ieeg-0.6.0-cp310-cp310-musllinux_1_2_i686.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.10, musllinux: musl 1.2+ i686
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ieeg-0.6.0-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 e51d56e694d110051a1bbc0eb670b48d5e3e0db06727d6eb69cd11cc832c6e42
MD5 b0da4e42875c630b41e5071e70758fbe
BLAKE2b-256 8d08910fb82bec8e5fb98264369ece6e5c49b2d5482fbd7be7138a6ef7561f37

See more details on using hashes here.

Provenance

The following attestation bundles were made for ieeg-0.6.0-cp310-cp310-musllinux_1_2_i686.whl:

Publisher: Package.yml on coganlab/IEEG_Pipelines

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ieeg-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ieeg-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 736b798987963b682c64621f2755304a2e54292dfa087b0d8b3027de6e4fedca
MD5 a34d67c38600431933285209f53f0209
BLAKE2b-256 0167df62e7d5b6c05e7c5decac4213f7f7d73e0d43e33693fbcb2d86d54e6378

See more details on using hashes here.

Provenance

The following attestation bundles were made for ieeg-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: Package.yml on coganlab/IEEG_Pipelines

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ieeg-0.6.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for ieeg-0.6.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 82fb1e3a7aadd0663be3877b4fb61c6cdba6ad8c6d5103bb764ebe3eea0bded3
MD5 aa7cdad8efb636fa47214200d4562c63
BLAKE2b-256 b4e3add50ab412c8b6fb78b0766c7901c6055920826f5ac2a5b404cf1b586222

See more details on using hashes here.

Provenance

The following attestation bundles were made for ieeg-0.6.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl:

Publisher: Package.yml on coganlab/IEEG_Pipelines

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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