A python API to send commands to the LTA board.
Project description
libLTA v3.0
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
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 Distributions
Built Distribution
File details
Details for the file liblta-3.0.1-py3-none-any.whl
.
File metadata
- Download URL: liblta-3.0.1-py3-none-any.whl
- Upload date:
- Size: 27.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d26179fd1fe45212aeb7d8f5b2167a696843c5c5d2c470a8e48a55e8afac93c |
|
MD5 | 9e89b2e0744d87364eb52252fc3dda88 |
|
BLAKE2b-256 | 30c2d79648c61408bb77e06b907d56ba3c0607d5234971b61f18e6666085066c |