Library for working with Alivecor ATC files
Project description
pyatc
Python tools for working with proprietary Alivecor ATC files in both python 2 and python 3.
Supports reading and writing ATC files, reading from and writing to JSON and exporting to EDF (not plus) format.
Installation
pyatc is available on pypi.
Install using pip with pip install pyatc
Usage
This sample requires you to have a file named in.atc in the same folder as the script.
from pyatc.pyatc import PyATC
f = PyATC.read_file("in.atc") #Read ATC
f.write_json_to_file("out.json") #Write json
f.write_to_file("out.atc") #Write ATC
f.write_edf_to_file("out.edf") #Write EDF
Please refer to test.py for more usage.
File support
Currently only file version 2 & 3 is supported. If you don't know if your file is the right format, try reading the file and the library will throw an UnsupportedFileVersionException
if it is not.
If you got ATC files of a different version than 2 & 3, and ideally knowledge on how to read them, please let me know so that the library can support them.
Project details
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 pyATC-1.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18be2bad76ef5022a9ca21cc6575f4d28ca4f4a37e7f4f86ef2c065acceed0be |
|
MD5 | bafe0ec088632236ce3aff9a86e8d331 |
|
BLAKE2b-256 | 49962ccddf88a97922bae40c764b519fd15bdcc718f3bea7164efe00817fa949 |