Embody file converter
Project description
Embody File
This is a Python based implementation for parsing binary files from the Aidee EmBody device.
Features
- Converts binary embody files to HDF, CSV, etc
- Integrates with the EmBody Protocol Codec project
- CLI (command line interface)
- Can be used as package in other projects
- Type safe code using mypy for type checking
Requirements
- Python 3.8-3.11
Installation
You can install Embody File via pip:
$ pip install embody-file
Usage
To use the command line, first install this library either globally or using venv:
$ pip install embody-file
When this library has been installed, a new command is available, embody-file
which can be used according to the examples below:
Get help
To get an updated overview of all command line options:
embody-file --help
Print version number
embody-file --version
Convert binary embody file to HDF
To convert to a HDF 5 (hierarcical data format) format, run the following:
embody-file testfiles/v5_0_0_test_file.log --output-format HDF
The file will be named the same as the input file, with the .hdf
extension at the end of the file name.
Convert binary embody file to CSV
To convert to CSV format, run the following:
embody-file testfiles/v5_0_0_test_file.log --output-format CSV
The file will be named the same as the input file, with the .csv
extension at the end of the file name.
Print statistics for binary embody file
To print stats without conversion:
embody-file testfiles/v5_0_0_test_file.log --print-stats
Plot binary file in graph
To show an ECG/PPG plot graph:
embody-file testfiles/v5_0_0_test_file.log --plot
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
Issues
If you encounter any problems, please file an issue along with a detailed description.
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
Hashes for embody_file-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0742dcba23e0a7002972026b5048007079635fc746f5f52aa9687ea0b9d35b7 |
|
MD5 | 001c1ecd59c825ec1eb0329741f9f5f5 |
|
BLAKE2b-256 | 331a1b7e1425fd915bb0968afcb75772cab1069ecec71b90e4bf0710a38c5315 |