Skip to main content

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

Metadata

Release files for sdss-lvmagp 0.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sdss-lvmagp 0.3.6
File Size Uploaded
sdss_lvmagp-0.3.6.tar.gz 30.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sdss-lvmagp 0.3.6
File Interpreter ABI Platform
sdss_lvmagp-0.3.6-cp39-cp39-manylinux_2_35_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.35+ x86-64 Details

Total release size: 75.3 kB

Release files / sdss_lvmagp-0.3.6.tar.gz

Download URL sdss_lvmagp-0.3.6.tar.gz
Size 30.4 kB
Tags Source
SHA-256 checksum
How to use checksums
35ac36d06ba88479ae0dba4c7f1cd36d632ba1bd2f3e5ba8de39ffe48cd41558
BLAKE2b-256 checksum
How to use checksums
5f09b48bb08b3220460b584acfdd23eb32aab6d77b9a84d69286100fe3510f6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / sdss_lvmagp-0.3.6-cp39-cp39-manylinux_2_35_x86_64.whl

Download URL sdss_lvmagp-0.3.6-cp39-cp39-manylinux_2_35_x86_64.whl
Size 44.9 kB
Tags CPython 3.9 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
af38cb636159586f5a9576bc4ce83da9a4c42e99ee316a52076598b814786445
BLAKE2b-256 checksum
How to use checksums
6d0cbdbb56b4a8c4ee050de9f0e2c20c9ac509787e339e97633a6738f5ad90bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.2.21

2 release files

0.2.20

2 release files

0.2.19

2 release files

0.2.17

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page