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.6.tar.gz
(23.0 kB
view details)
Built Distribution
File details
Details for the file sdss-skymakercam-0.0.6.tar.gz
.
File metadata
- Download URL: sdss-skymakercam-0.0.6.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2016b0fad4382d6bbe2db7ceae24f538ca7a2dac646bdba9f7f6474addd53c3 |
|
MD5 | 052fe986bb596840e8a911b940ca74a8 |
|
BLAKE2b-256 | 176d562e608a566569375e3018afe3046d71a0f1f4d762dc82cbe124e190b139 |
File details
Details for the file sdss_skymakercam-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: sdss_skymakercam-0.0.6-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b1a772fd980ebcbf87969ecb7d1d65a4978a5cf09c51ffe40646be2b75cb969 |
|
MD5 | 8d4cb173279b8df550bce8012fbbd0c4 |
|
BLAKE2b-256 | 4e228297176af64e7f0a5630fd1f6bba6851870081493af3e84265223f12473f |