Aquisition and guiding package for SDSS-V LVM
Project description
lvmagp
lvmagp which controls focuser, guide camera and mount.
Quickstart
Install
git clone --recurse-submodules -j8 --remote-submodules https://github.com/sdss/lvm.git
cd lvm
(cd lvmcam && git switch refactor && poetry update && poetry install)
(cd lvmagp && git switch refactor && poetry update && poetry install)
Run actors
(cd lvmtan && poetry run container_start --kill --name lvm.all)
(cd lvmpwi && poetry run container_start --simulator --name=lvm.sci.pwi&)
(cd lvmcam && poetry run lvmcam -c python/lvmcam/etc/lvm.sci.agcam.yml start --debug &)
(cd lvmcam && poetry run python utils/simple_camui.py &)
(cd lvmagp && poetry run lvmagp -c python/lvmagp/etc/lvm.sci.agp.yml start --debug &)
Run example scripts - maybe in a extra shell
cd lvmagp
poetry run python python/lvm/tel/aquisition.py --help
poetry run python python/lvm/tel/aquisition.py -r 22 -d -46 -v
poetry run python python/lvm/tel/focus.py -f -v
poetry run python python/lvm/tel/calibrate.py -o 20 -v
Guider start/stop from python shell
Do not use this in a python script without try/except.
import sys
import uuid
from logging import DEBUG
from clu import AMQPClient, CommandStatus
from cluplus.proxy import Proxy, invoke, unpack
amqpc = AMQPClient(name=f"{sys.argv[0]}.client-{uuid.uuid4().hex[:8]}")
ag = Proxy(amqpc, "lvm.sci.ag").start()
ag.guideStart()
ag.status()
ag.guideStop()
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 Distribution
sdss_lvmagp-0.2.24.tar.gz
(22.5 kB
view hashes)
Built Distribution
Close
Hashes for sdss_lvmagp-0.2.24-cp39-cp39-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cadf7c3bf70a51e6e1876a7ff453374ca565c1345bcfb383e9717acaad799f0 |
|
MD5 | d5257699be88277eb5ec04d8be47efb3 |
|
BLAKE2b-256 | fecfbe6bb213c0d393b8d2d68b7a9422a889bd04cef6ca82f7de3858c0991ebe |