A package for loading XDF files recorded with TMSi amplifiers.
Project description
PTE-XDF - Python tools for electrophysiology
PTE-XDF is a python package for working with XDF files in electrophysiology.
It provides an interface to load and work with XDF files in MNE.
Currently, it is only tested with files that were recorded with TMSi amplifiers.
Documentation
See the full documentation here.
For a quick start continue reading.
Installing pte-xdf
Stable release
To install the latest stable release, simply type:
$ pip install pte-xdf
Development version
To install the latest development version, first clone this repository:
$ git clone https://github.com/richardkoehler/pte-xdf
Then install with the command:
$ pip install .
Usage
import pte_xdf
fname = "my_recording.xdf"
Load a recording and use only the stream with 'stream_id' = 1.
raw = pte_xdf.read_raw_xdf(fname=fname, stream_picks=1, verbose=False)
Load a recording and use only the stream with 'name' = 'SAGA'.
raw = pte_xdf.read_raw_xdf(fname, stream_picks='SAGA', verbose=False)
Contributing
Please feel free to contribute yourselves or to open an issue when you encounter a bug or to request a new feature.
For any major changes, make sure to open an issue first.
For any minor additions or bugfixes, you may simply create a pull request.
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.
How to contribute
To contribute yourselves, create a fork of this repository and run git clone https://github_link_to_fork
as described above.
Then create a development branch from your fork.
Navigate to the folder where the repository was cloned.
From your development branch run the command:
$ pip install -e .[dev]
This will additionally install packages for development, such as black, pylint, mypy and isort.
When you have finished working on your changes, you can then create a pull request to this repository.
License
PTE Stats is licensed under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pte-xdf-0.1.0.tar.gz
.
File metadata
- Download URL: pte-xdf-0.1.0.tar.gz
- Upload date:
- Size: 16.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60b8c42111c772177b283c1d5fb8f17a8b90ec9c0f2cbaac4f8802f9cdd62cc0 |
|
MD5 | 172452770c4b5abe894fd46e75a7a1a1 |
|
BLAKE2b-256 | a888458af4d307ba836f874d1fe37d334253927854d3c4db20b9582bf6265d77 |
File details
Details for the file pte_xdf-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pte_xdf-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6bb8d3d60d0424e513dcd2641a54b4c1a49b260dc93d8036b7de767d2ec6266 |
|
MD5 | ae36745e21beb27662518d9d42917eb6 |
|
BLAKE2b-256 | 2427e20f4cd8cbc4d95fef1ee82ae2b2aa45fa01db9db407c496590644a84830 |