Skip to main content
# 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/


Release files for datalog 0.7.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datalog 0.7.8
File Size Uploaded
datalog-0.7.8.tar.gz 33.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datalog 0.7.8
File Interpreter ABI Platform
datalog-0.7.8-py3-none-any.whl Python 3 none any Details

Total release size: 54.7 kB

Release files / datalog-0.7.8.tar.gz

Download URL datalog-0.7.8.tar.gz
Size 33.1 kB
Tags Source
SHA-256 checksum
How to use checksums
eaddd9243ac01de844a74f14f4d7776ad1e64c93452329b59eb30123dda4c518
BLAKE2b-256 checksum
How to use checksums
e42745e741a11d8fe9923a34dedf68abe231ebaca6c3d06b8c822e936d664261
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / datalog-0.7.8-py3-none-any.whl

Download URL datalog-0.7.8-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c36ddad6ec3db687f3b615d89cece4dccc191a9eee08e3451a21e97c01b5dbe9
BLAKE2b-256 checksum
How to use checksums
c1453b797c84d772d5d27d9586c2f260ce9cc3aa5027c9beaec9faa5deee164b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.7.8 This release

2 release files

0.7.7

1 release file

0.7.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page