Skip to main content

Unpack and calibrate binary data from a WetLabs ACS

Project description

pyACS

Python 3 license MIT

Python package to unpack and calibrate binary data from a WetLabs ACS

Installation

The pyACS package can be installed directly with python's package manager.

pip install pyACS

pyACS can also be installed from the sources available at GitHub repository.

python setup.py install

Note that the only default dependency is numpy. Installing the library SciPy in addition will improve performances.

pip install scipy

Convert binary to CSV files

pyACS can be used from a terminal to convert binary files recorded with Compass software to CSV files.

python -m pyACS [-h] [-v] [--version] [-aux] device_file bin_file [destination]

positional arguments: device_file Device file. bin_file Source file to decode and calibrate (.bin). destination Destination file of decoded and calibrated data.

optional arguments: -h, --help Show this help message and exit -v, --verbose Enable verbosity. --version Prints version information. -aux, --auxiliaries Output auxiliary data (internal and external temperatures).

Embed in other Software

The class ACS provides key methods to handle the binary ACS data

  • read_device_file: Parse device file to be able to unpack and calibrate binary frame
  • find_frame: Find registered ACS frames in bytearray
  • unpack_frame: Unpack/Decode a binary frame into named tuple FrameContainer
  • calibrate_frame: Convert a frame engineering units (counts) into scientific units (1/m for a and c)

The classes BinReader and ConvertBinToCSV are an illustration of the usage of the ACS class to parse binary files recorded with Compass software (.bin).

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

pyACS-0.1.1.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

pyACS-0.1.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file pyACS-0.1.1.tar.gz.

File metadata

  • Download URL: pyACS-0.1.1.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for pyACS-0.1.1.tar.gz
Algorithm Hash digest
SHA256 00d1affeaf29e68878c670179cda1ecb74efca4649295af082987a8f3dfc779f
MD5 14ad0a7d5077bf1a16981c96ab5f2ee9
BLAKE2b-256 7bcda17f2ec8bed1ba41bbaf37de50e71bac1b4a883700be67590295c88610f4

See more details on using hashes here.

File details

Details for the file pyACS-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyACS-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for pyACS-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 36f586a1108c95896020240f3b0cf8b4a60072e137bacff7425e5dcf7463fe69
MD5 77e8f41d0ddfcf1b468e81041df29e9e
BLAKE2b-256 b0cbdd78dc44fa9355eef7df488070da73c7d03e9fe3fcf756f22402200d1765

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page