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.
Release files for liblta 3.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| liblta-3.1.1.tar.gz | 26.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| liblta-3.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.8 kB
Release files / liblta-3.1.1.tar.gz
| Download URL | liblta-3.1.1.tar.gz |
|---|---|
| Size | 26.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1230d91e8319c99ee87d3975b4a5f3e482a8db3d3ddf6e3b2eaae66cbe0274a
|
|
BLAKE2b-256 checksum How to use checksums |
6b2dbf93b8ba3b27e67dc5cd46e0643fde124ac42e9ce7b784deffac15fc5b53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / liblta-3.1.1-py3-none-any.whl
| Download URL | liblta-3.1.1-py3-none-any.whl |
|---|---|
| Size | 28.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d35f422a1695cb90d77cbc78928ec93358dfea163761357baf1ce8e77da7e535
|
|
BLAKE2b-256 checksum How to use checksums |
36545a014a59af33940aa51a61b8ed204e3802b80ffc017e6bd1117928b15213
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|