Skip to main content

Aquisition and guiding package for SDSS-V LVM

Project description

lvmagp

Versions Documentation Status Travis (.org) codecov

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


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.3.3.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sdss_lvmagp-0.3.3-cp39-cp39-manylinux_2_35_x86_64.whl (36.6 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.35+ x86-64

File details

Details for the file sdss_lvmagp-0.3.3.tar.gz.

File metadata

  • Download URL: sdss_lvmagp-0.3.3.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for sdss_lvmagp-0.3.3.tar.gz
Algorithm Hash digest
SHA256 e2178f6dab3858375a8136d4b97d75211e09f82496516459aef922b8b0647121
MD5 2636522a2c25f51382baa8461948e03e
BLAKE2b-256 e7a2b2d791f50e1d69bbe6886d12962274f6849bca9866b1983542b559bda132

See more details on using hashes here.

File details

Details for the file sdss_lvmagp-0.3.3-cp39-cp39-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for sdss_lvmagp-0.3.3-cp39-cp39-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 b4ad4fe55ce359cbcb3e9923fa42672e4ef91bebf585a08282f63802d60bfce7
MD5 e0a6cfc07342419e8073574a69e62b44
BLAKE2b-256 463f5daac6d7709d95ea9ec7eec6d8d9401935c80281dd7f379570e1c03571da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page