Skymaker camera with sdss-basecam
Project description
skymakercam
Skymaker camera based on sdss-basecam
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
use 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:
from logging import DEBUG, INFO
from skymakercam.camera import SkymakerCameraSystem, SkymakerCamera
async def example_skymakercam(camname, 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.
exp = await cam.expose(exptime, camname)
verb = DEBUG
camname = "lvm.sci.agw.cam"
config = "python/skymakercam/etc/cameras.yaml"
asyncio.run(example_skymakercam(camname, 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.2.tar.gz
(22.5 kB
view details)
Built Distribution
File details
Details for the file sdss-skymakercam-0.0.2.tar.gz
.
File metadata
- Download URL: sdss-skymakercam-0.0.2.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab70a141f3a06f2473fa9b2cf9385414fa8b97e14a3cd684763e554efabc51bd |
|
MD5 | abc55eff1ad55d5bc2f4654845e93acc |
|
BLAKE2b-256 | aa75ef3210e7c3e5d6d356f4ab69ce1a4ba2dc49e772188123b1ea6d16592555 |
File details
Details for the file sdss_skymakercam-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: sdss_skymakercam-0.0.2-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 876bdc2598a5ce53cd74c7fc3fa75029515b013c34d65bd323957385e4a8742a |
|
MD5 | a8ddb6d7537dfa2e8991c5ef4c7dc276 |
|
BLAKE2b-256 | e81634d359a1edf6ee3b5b377b87247e0ac2a76ba0a795c3220b217012209bf9 |