Giter Site home page Giter Site logo

datalog's Introduction

DataLog: a library for interacting with PicoLog hardware

This is a Python library to interface with PicoLog ADC hardware. 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 and must be installed and working before using this library.

Installation

Installation is handled by setup.py. This is most easily handled by pip:

pip3 install datalog

This installs the Python package dependencies automatically. If the above command doesn't make sense, try reading this introduction to pip.

Use

The documentation should help to get you started. Compile it with:

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 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.

Contributing

I welcome contributions to the codebase - just open a pull request!

Sean Leavey
https://github.com/SeanDS/

datalog's People

Contributors

nickcrisp-xmos avatar seands avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.