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.
Metadata
Release files for pte-xdf 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pte-xdf-0.1.0.tar.gz | 16.1 MB | Without provenance | Details for pte-xdf-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pte_xdf-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pte_xdf-0.1.0-py3-none-any.whl |
Total release size: 16.1 MB
Release files / pte-xdf-0.1.0.tar.gz
| Download URL | pte-xdf-0.1.0.tar.gz |
|---|---|
| Size | 16.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60b8c42111c772177b283c1d5fb8f17a8b90ec9c0f2cbaac4f8802f9cdd62cc0
|
|
BLAKE2b-256 checksum How to use checksums |
a888458af4d307ba836f874d1fe37d334253927854d3c4db20b9582bf6265d77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Release files / pte_xdf-0.1.0-py3-none-any.whl
| Download URL | pte_xdf-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6bb8d3d60d0424e513dcd2641a54b4c1a49b260dc93d8036b7de767d2ec6266
|
|
BLAKE2b-256 checksum How to use checksums |
2427e20f4cd8cbc4d95fef1ee82ae2b2aa45fa01db9db407c496590644a84830
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Security for pte-xdf 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.