Skymaker camera with sdss-basecam
Project description
skymakercam
Virtual camera based on sdss-basecam using remote catalog
from lvmtan run:
poetry run container_start --name lvm.all
from lvmpwi run:
poetry run container_start --name=lvm.sci.pwi --simulator
from skymakercam run:
poetry run python utils/plot_skymakercam.py -v -c python/skymakercam/etc/cameras.yaml lvm.sci.agw.cam
- Move lvm.sci.foc for focusing - relative 10000 steps.
- Move lvm.sci.km absolute in degree "DEG".
- Move lvm.sci.pwi for target.
- Press 'o' for find stars and recenter.
- Press 'q' to quit.
use it in your own python code:
With this config example python/skymakercam/etc/cameras.yaml and the actors running from before, it can be used like this:
import asyncio
from logging import DEBUG, INFO
from skymakercam.camera import SkymakerCameraSystem, SkymakerCamera
async def example_skymakercam(camname, exptime, verb, config):
cs = SkymakerCameraSystem(SkymakerCamera, camera_config=config, verbose=verb)
cam = await cs.add_camera(name=camname, uid=cs._config[camname]["uid"])
# eg: expose or do whatever u do with a sdss-basecam type camera.
exp = await cam.expose(exptime, camname)
verb = DEBUG
camname = "lvm.sci.agw.cam"
config = "python/skymakercam/etc/cameras.yaml"
asyncio.run(example_skymakercam(camname, 5.0, verb, config))
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-skymakercam-0.0.18.tar.gz
(23.1 kB
view details)
Built Distribution
File details
Details for the file sdss-skymakercam-0.0.18.tar.gz
.
File metadata
- Download URL: sdss-skymakercam-0.0.18.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85a45648f3e0b5ad1b7182815f4830ddeae25f3cf0db19397ac611e4ba695209 |
|
MD5 | ff780da8c50409fbe162f345d00e54d0 |
|
BLAKE2b-256 | 54a21d4579544c5cc6ad6d124303ba462481f3a83045df823984f06bbfd622be |
File details
Details for the file sdss_skymakercam-0.0.18-py3-none-any.whl
.
File metadata
- Download URL: sdss_skymakercam-0.0.18-py3-none-any.whl
- Upload date:
- Size: 24.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 545445ab101a58208cf16e9ac5e843334c9b0bf5b940f896d3088bffa6eeeb77 |
|
MD5 | 2730ef377b7a798f0441ced5e3f1c010 |
|
BLAKE2b-256 | 9c1d14b489c1a20592c4be52f8291d7ee580e526a6d827ae7f65f6fe2034ea8c |