edfrd
edfrd is a Python 3 software library to read EDF files.
Installation
pip3 install --user edfrd
Usage
from edfrd import read_header, read_data_records
file_path = 'PATH/TO/FILE.edf'
header = read_header(file_path)
data_records = [
data_record for data_record in
read_data_records(file_path, header) # generator
]
for signal_header, signal in zip(header.signals, data_records[0]):
print(
signal_header.label,
signal.size,
signal.dtype # numpy int16 array
)
# optional parameters, default is None
_ = read_data_records(
file_path,
header,
start=0,
end=header.number_of_data_records
)
Metadata
Release files for edfrd 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| edfrd-0.5.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| edfrd-0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.6 kB
Release files / edfrd-0.5.tar.gz
| Download URL | edfrd-0.5.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1cf4b1e20201603f31ed63ec01a4d5829de01f66dadabba95cb24b7c30628af7
|
|
BLAKE2b-256 checksum How to use checksums |
988f8f2144e7dcb714a7ede8d97e1247ff614bc37fbfd5ce698ec88a0d8e60c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.10 CPython/3.7.1 Linux/4.15.0-39-generic
|
Release files / edfrd-0.5-py3-none-any.whl
| Download URL | edfrd-0.5-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6998e7dfba1aeb71201214a160e0942bc85e737ddd13ed529edc77d17e9e6a9c
|
|
BLAKE2b-256 checksum How to use checksums |
54ea09b9dfc6298bbf59ea5f9be78b29d2119886c92dc438e6f37a6e3f0fc318
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.10 CPython/3.7.1 Linux/4.15.0-39-generic
|