Skip to main content

A python API to send commands to the LTA (Low-Threshold Acquisition) board.

Reason this release was yanked:

not working

Project description

libLTA v3.1

This library provides a python API to send commands to the LTA board. For example:

from liblta import pyLTA

# Initialize the object
lta = pyLTA()

# Connect to the board
lta.connect('myLTA', host_ip='192.168.133.100', 
              board_ip='192.168.133.7', board_port=2001)

# Request telemetry values
lta.send('get telemetry all')

Features

  • All-in-one: does not require a 'daemon' to communicate with board.
  • Sequencer is saved with a hashed name so that it can be recovered at any time.
  • Binary file decoder also implemented in Python (and is efficient!).
  • Decoding can be made offline (all image metadata is saved).
  • No CFITSIO or ROOT needed!
  • [Legacy] Compatible with LTA daemon (https://github.com/sensei-skipper/ltaDaemon_public).

Installation

Pre-requisites

These packages are required for libLTA to work. Most of the times their installation is as easy as running:
python3 -m pip install [package]
or:
conda install [package] if you are a conda user.

Installing libLTA

First, clone this repo to your machine:

git clone https://gitlab.com/nicolaseavalos/liblta.git

Then install this library in your current Python environment:

cd liblta
python3 -m pip install -e .

The -e flag makes the installation editable, so to update the library to a newer version you can just cd to the repo and git pull.

Usage

Please refer to the basic usage file for an example of the most commonly used functions. Complete documentation can be found here.

License

This project is licensed under the MIT license.

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

liblta-3.1.0.tar.gz (26.6 kB view hashes)

Uploaded Source

Built Distribution

liblta-3.1.0-py3-none-any.whl (28.1 kB view hashes)

Uploaded Python 3

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