Skip to content

PTE Decode is an open-source software package for neural decoding.

License

Notifications You must be signed in to change notification settings

neuromodulation/pte-decode_tsbinns

Repository files navigation

Homepage License Contributors Code Style

PTE Decode - Python tools for electrophysiology

PTE Decode is an open-source software package for neural decoding.

It builds upon PTE and aims at decoding intracranial EEG (iEEG) signals such as local field potentials (LFP) electrocorticography (ECoG).

PTE Decode implements sample-wise decoding and lets you define epochs based on specific events to avoid circular training.

Installing PTE Decode

First, get the current development version of PTE using git. Then type the following command into a terminal:

git clone https://github.com/richardkoehler/pte-decode

Use the package manager conda to set up a new working environment. To do so, use cd in your terminal to navigate to the PTE root directory and type:

conda env create -f env.yml

This will set up a new conda environment called pte-decode.

To activate the environment then type:

conda activate pte-decode

Finally, to install PTE Decode in an editable development version inside your conda environment type the following inside the PTE Decode root directory:

conda develop .

Usage

import pte_decode

# Examples

Contributing

Please feel free to contribute.

For any minor additions or bugfixes, you may simply create a pull request.

For any major changes, make sure to open an issue first. When you then create a pull request, be sure to link the pull request to the open issue in order to close the issue automatically after merging.

To contribute, consider installing the full conda development environment to include such tools as black, pylint and isort:

conda env create -f env_dev.yml
conda activate pte-decode-dev

Continuous Integration (CI) including automated testing are set up.

License

PTE is licensed under the MIT license.

About

PTE Decode is an open-source software package for neural decoding.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages