Python library to interface with PicoLog ADC hardware
Project description
# DataLog: a library for interacting with PicoLog hardware
This is a Python library to interface with [PicoLog ADC hardware](https://www.picotech.com/data-logger/adc-20-adc-24/precision-data-acquisition).
It provides a Python class to interact with the `ADC24`, and data structures
to represent its outputs. The `ADC24` is implemented, but the library is
designed to be easily extended for other PicoLog (and potentially non-PicoLog)
hardware. It may work with the `ADC20` without modification, but this is not
tested.
## Prerequisites
The following requirements must be met before `DataLog` is installed:
* Python 3.5+
* PicoLog ADC 20/24 hardware and driver (`libpicohrdl`)
The PicoLog ADC driver can be obtained from
[PicoTech](https://www.picotech.com/downloads/) and must be installed and
working before using this library.
## Installation
Installation is handled by `setup.py`. This is most easily handled by `pip`:
```bash
pip3 install datalog
```
This installs the Python package dependencies automatically. If the above command doesn't make sense, try reading
[this introduction to pip](https://packaging.python.org/tutorials/installing-packages/).
## Use
The documentation should help to get you started. Compile it with:
```bash
cd doc
make html
```
The main functionality is implemented in `datalog/adc/hrdl/picolog.py` and this
class can be used on its own.
### Site-specific use
We use this library at the [University of Glasgow observatory](http://www.astro.gla.ac.uk/observatory/weather/Observatory_weather/Observatory_weather.htm)
for our magnetometer. We have to calibrate the raw counts coming from the
PicoLog unit, as well as upload this data to our FTP server. The set of scripts
we use can be found [here](https://github.com/acrerd/magnetometer).
## Contributing
I welcome contributions to the codebase - just open a pull request!
Sean Leavey
https://github.com/SeanDS/
This is a Python library to interface with [PicoLog ADC hardware](https://www.picotech.com/data-logger/adc-20-adc-24/precision-data-acquisition).
It provides a Python class to interact with the `ADC24`, and data structures
to represent its outputs. The `ADC24` is implemented, but the library is
designed to be easily extended for other PicoLog (and potentially non-PicoLog)
hardware. It may work with the `ADC20` without modification, but this is not
tested.
## Prerequisites
The following requirements must be met before `DataLog` is installed:
* Python 3.5+
* PicoLog ADC 20/24 hardware and driver (`libpicohrdl`)
The PicoLog ADC driver can be obtained from
[PicoTech](https://www.picotech.com/downloads/) and must be installed and
working before using this library.
## Installation
Installation is handled by `setup.py`. This is most easily handled by `pip`:
```bash
pip3 install datalog
```
This installs the Python package dependencies automatically. If the above command doesn't make sense, try reading
[this introduction to pip](https://packaging.python.org/tutorials/installing-packages/).
## Use
The documentation should help to get you started. Compile it with:
```bash
cd doc
make html
```
The main functionality is implemented in `datalog/adc/hrdl/picolog.py` and this
class can be used on its own.
### Site-specific use
We use this library at the [University of Glasgow observatory](http://www.astro.gla.ac.uk/observatory/weather/Observatory_weather/Observatory_weather.htm)
for our magnetometer. We have to calibrate the raw counts coming from the
PicoLog unit, as well as upload this data to our FTP server. The set of scripts
we use can be found [here](https://github.com/acrerd/magnetometer).
## Contributing
I welcome contributions to the codebase - just open a pull request!
Sean Leavey
https://github.com/SeanDS/
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
datalog-0.7.8.tar.gz
(33.1 kB
view details)
Built Distribution
datalog-0.7.8-py3-none-any.whl
(21.6 kB
view details)
File details
Details for the file datalog-0.7.8.tar.gz
.
File metadata
- Download URL: datalog-0.7.8.tar.gz
- Upload date:
- Size: 33.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaddd9243ac01de844a74f14f4d7776ad1e64c93452329b59eb30123dda4c518 |
|
MD5 | b08f5f0c9e0208f1921a526c4b777fad |
|
BLAKE2b-256 | e42745e741a11d8fe9923a34dedf68abe231ebaca6c3d06b8c822e936d664261 |
File details
Details for the file datalog-0.7.8-py3-none-any.whl
.
File metadata
- Download URL: datalog-0.7.8-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c36ddad6ec3db687f3b615d89cece4dccc191a9eee08e3451a21e97c01b5dbe9 |
|
MD5 | f0f2c7fab83bca0c6286e31a92fb19b2 |
|
BLAKE2b-256 | c1453b797c84d772d5d27d9586c2f260ce9cc3aa5027c9beaec9faa5deee164b |