- Notifications
You must be signed in to change notification settings - Fork0
A python package for loading XDF files into MNE
License
richardkoehler/pte-xdf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
PTE-XDF is a python package for working with XDF files in electrophysiology.
It provides an interface to load and work with XDF files inMNE.
Currently, it is only tested with files that were recorded with TMSi amplifiers.
See the full documentationhere.
For a quick start continue reading.
To install the latest stable release, simply type:
$ pip install pte-xdf
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.
importpte_xdffname="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)
Please feel free to contribute yourselves or to open anissue when you encounter a bug or to request a new feature.
For any major changes, make sure to open anissue first.
For any minor additions or bugfixes, you may simply create apull request.
When you then create a pull request, be sure tolink the pull request to the open issue in order to close the issue automatically after merging.
To contribute yourselves, create a fork of this repository and rungit clone https://github_link_to_fork
as describedabove.
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.
PTE Stats is licensed under theMIT license.
About
A python package for loading XDF files into MNE