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
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:
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 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, 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.4.tar.gz
(22.5 kB
view details)
Built Distribution
File details
Details for the file sdss-skymakercam-0.0.4.tar.gz
.
File metadata
- Download URL: sdss-skymakercam-0.0.4.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 | 8601c9587cc5444e08c2bae4ec1218d4dc203798140b9db7ea770f8d727f715d |
|
MD5 | 567e2bd17af5d82c671362eec9bb888e |
|
BLAKE2b-256 | 89e29fd4df2ef7c7aac9d118d93426c53c315c35ec7d8b54f5e23a1591b59927 |
File details
Details for the file sdss_skymakercam-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: sdss_skymakercam-0.0.4-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 | 30049918956b0624f33f61acd435d7a8c51c523b808dfd321baba00bf5eae584 |
|
MD5 | 06fc85a96be5a7b6448befe7ec0c1a5a |
|
BLAKE2b-256 | acdbdbf5e4504a06ca4521971d443148a51f88baf2c4cc2020518d73a65655b2 |