{"id":15716429,"url":"https://github.com/coganlab/ieeg_pipelines","last_synced_at":"2025-04-14T00:22:41.307Z","repository":{"id":39879225,"uuid":"366101812","full_name":"coganlab/IEEG_Pipelines","owner":"coganlab","description":"A repo of current preprocessing methods for the Cogan Lab","archived":false,"fork":false,"pushed_at":"2025-04-04T22:06:22.000Z","size":120995,"stargazers_count":4,"open_issues_count":20,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-04T23:19:25.176Z","etag":null,"topics":["bids-apps","eeg","ieeg","matlab","neuroscience","python"],"latest_commit_sha":null,"homepage":"https://ieeg-pipelines.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coganlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-10T16:08:13.000Z","updated_at":"2024-12-03T22:55:58.000Z","dependencies_parsed_at":"2023-12-22T02:06:41.093Z","dependency_job_id":"330e7092-a35a-4601-9d77-479a59bf28ad","html_url":"https://github.com/coganlab/IEEG_Pipelines","commit_stats":{"total_commits":943,"total_committers":11,"mean_commits":85.72727272727273,"dds":0.5068928950159066,"last_synced_commit":"75a6b70852398f48001a39a1d45e72b6fdf3ee6a"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coganlab%2FIEEG_Pipelines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coganlab%2FIEEG_Pipelines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coganlab%2FIEEG_Pipelines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coganlab%2FIEEG_Pipelines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coganlab","download_url":"https://codeload.github.com/coganlab/IEEG_Pipelines/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248800064,"owners_count":21163404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bids-apps","eeg","ieeg","matlab","neuroscience","python"],"created_at":"2024-10-03T21:45:37.357Z","updated_at":"2025-04-14T00:22:41.288Z","avatar_url":"https://github.com/coganlab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IEEG_Pipelines\n\nA repo of current preprocessing pipelines for the [Cogan Lab](https://www.coganlab.org/)\n\n[![Brain](./docs/images/brain_rot.gif)](https://www.coganlab.org/)\n\n## Documentation\n\n[![Documentation Status](https://readthedocs.org/projects/ieeg-pipelines/badge/?version=latest)](https://ieeg-pipelines.readthedocs.io/en/latest/?badge=latest)\n\n[Lab Wiki](https://coganlab.pages.oit.duke.edu/wiki//)\n\n## Pipeline Functionality\n\n[![Python (3.10 - 3.13) on Windows/Linux/Mac](https://github.com/coganlab/IEEG_Pipelines/actions/workflows/Python-CI.yml/badge.svg)](https://github.com/coganlab/IEEG_Pipelines/actions/workflows/Python-CI.yml)\n\n[![MATLAB latest](https://github.com/coganlab/IEEG_Pipelines/actions/workflows/MATLAB-CI.yml/badge.svg)](https://github.com/coganlab/IEEG_Pipelines/actions/workflows/MATLAB-CI.yml)\n\n[![codecov](https://codecov.io/gh/coganlab/IEEG_Pipelines/branch/main/graph/badge.svg?token=X4IAFGOBGN)](https://codecov.io/gh/coganlab/IEEG_Pipelines)\n\n## Installation\n\n### MATLAB\n\n1. Install MATLAB\n2. Clone this repository into your userpath (`Documents/MATLAB` by default)\n3. Run commands:\n\n    ```MATLAB\n    path = fullfile(userpath, 'IEEG_Pipelines', 'MATLAB');\n    addpath(genpath(path));\n    ```\n\n### Python\n\nVersion 3.10 - 3.13 supported\n\n#### Conda\n\n1. Install Anaconda\n2. Create an anaconda environment with python and pip packages installed\n    \n     ```bash\n     conda create -n \u003cYOUR_NAME\u003e python\u003c3.14 pip\n     ```\n3. Activate the environment\n\n    ```bash\n    conda activate \u003cYOUR_NAME\u003e\n    ```\n   \n4. Run\n\n    ```bash\n    pip install ieeg\n    ```\n\n#### [Pip](https://pypi.org/project/ieeg/)\n\n1. Install Python\n2. Run:\n\n    ```bash\n    python -m venv \u003cPATH TO VENV\u003e/\u003cYOUR_NAME\u003e\n    source activate \u003cPATH TO VENV\u003e/\u003cYOUR_NAME\u003e\n    python -m pip install ieeg\n    ```\n   \n## Usage\n\n### MATLAB (INCOMPLETE)\n\n1. Load `.dat` file using [convert_OpenE_rec2mat.m](MATLAB/ieeg%20file%20reading/convert_OpenE_rec2mat.m)\n2. Create the ieeg data structure from the [ieegStructClass.m](MATLAB/ieegClassDefinition/ieegStructClass.m)\n3. `TBD`\n\n### Python ([INCOMPLETE](https://github.com/orgs/coganlab/projects/7))\n\n1. Load BIDS files from BIDS directory using [`pybids`](https://bids-standard.github.io/pybids/)\n    \n    ```python\n    from bids import BIDSLayout\n    import ieeg\n    layout = BIDSLayout(\u003cBIDS_root\u003e)\n    data = ieeg.io.raw_from_layout(layout)\n    ```\n2. [Perform line noise filtering](https://ieeg-pipelines.readthedocs.io/en/latest/auto_examples/plot_clean.html)\n\n3. [Check Spectrograms](https://ieeg-pipelines.readthedocs.io/en/latest/auto_examples/plot_spectrograms.html)\n\n4. [Plot the high gamma responses](https://ieeg-pipelines.readthedocs.io/en/latest/auto_examples/plot_HG.html)\n\n5. [Run the cluster correction and permutation test](https://ieeg-pipelines.readthedocs.io/en/latest/auto_examples/plot_stats.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoganlab%2Fieeg_pipelines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoganlab%2Fieeg_pipelines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoganlab%2Fieeg_pipelines/lists"}