Skip to main content

skymakercam

Versions Documentation Status Travis (.org) codecov

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.

image

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

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.30.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sdss_skymakercam-0.0.30-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file sdss_skymakercam-0.0.30.tar.gz.

File metadata

  • Download URL: sdss_skymakercam-0.0.30.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for sdss_skymakercam-0.0.30.tar.gz
Algorithm Hash digest
SHA256 cb16c800c48f8fc08f4e1ed0d76149b173c44f4482e73f0ae6afe1527caef25a
MD5 ca6c9a6ddd3b3d0c134a1d0457df0f80
BLAKE2b-256 2e5cd70703ab64a7366c611016aaab9a184b575eb06bdf9aabb7862fc55a8320

See more details on using hashes here.

File details

Details for the file sdss_skymakercam-0.0.30-py3-none-any.whl.

File metadata

File hashes

Hashes for sdss_skymakercam-0.0.30-py3-none-any.whl
Algorithm Hash digest
SHA256 b86af5295e23ad17cabda2f919bcedd7ac8886d5117e0fedffd0569d9e7bde40
MD5 258c18e5b5f539817ed2a48d6e40948b
BLAKE2b-256 b175c68f66c72b468d534d0a2727a146d19c2f87a93a218c0c7ccbedb4b2e686

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.30 This release

2 files

0.0.29

2 files

0.0.28

2 files

0.0.27

2 files

0.0.26

2 files

0.0.25

2 files

0.0.24

2 files

0.0.23

2 files

0.0.22

2 files

0.0.21

2 files

0.0.20

2 files

0.0.19

2 files

0.0.18

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page