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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file liblta-3.1.0.tar.gz.

File metadata

  • Download URL: liblta-3.1.0.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for liblta-3.1.0.tar.gz
Algorithm Hash digest
SHA256 cb537d5b94a6ba142b8b241b743cea29d211ea9c50b3a861ab7d3e4c690ad751
MD5 c1fdde4a2067f8a11ef441df6019f5a9
BLAKE2b-256 7c1d080c4e626115ba89dc9075873bf57c1d46a63fec9696b996458df304ea70

See more details on using hashes here.

File details

Details for the file liblta-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: liblta-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for liblta-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a161a4bbc19e7c4f5e6026510e0dea5ec803f2819b1719a42eed6527316f461
MD5 f201f4af598ce1f876f63bbe2e41c048
BLAKE2b-256 d36b3b336d5b5323a5a72d012a30cb4303d5590d743ca84b1519827941cedd8e

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