Skip to main content

pyobs for ZWO ASI cameras

This is a pyobs module for ZWO ASI cameras.

ASI SDK

Download the ASI SDK from https://astronomy-imaging-camera.com/software-drivers and install the libraries from the appropriate folder in lib/ to /usr/local/lib. Then copy asi.rules to /etc/udev/rules.d/99-asi.rules.

Install pyobs-asi

Clone the repository:

git clone https://github.com/pyobs/pyobs-asi.git
cd pyobs-asi

Install it with uv:

uv sync

Alternatively, with plain venv/pip:

python3 -m venv .venv
source .venv/bin/activate
pip install .

Configuration

The AsiCamera class is derived from BaseCamera (see pyobs documentation) and adds some new parameters:

camera:
    Name of camera to acquire driver for.
sdk:
    Path to .so file from ASI SDK.

Therefore, a basic module configuration would look like this:

class: pyobs_asi.AsiCamera
name: ASI camera
camera: ZWO ASI071MC Pro

For cameras with cooling, use AsiCoolCamera instead, which adds a setpoint parameter for the initial cooling setpoint in degrees Celsius:

class: pyobs_asi.AsiCoolCamera
name: ASI camera
camera: ZWO ASI071MC Pro
setpoint: -20

GUI

For testing a camera without a full pyobs setup, install the optional gui extra:

uv sync --extra gui

and run:

uv run asi-gui [path/to/libASICamera2.so]

Dependencies

  • pyobs-core for the core functionality.
  • zwoasi as a Python wrapper for the ASI SDK.
  • Astropy for FITS file handling.
  • NumPy for array handling.

Metadata

Release files for pyobs-asi 2.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyobs-asi 2.1.3
File Size Uploaded
pyobs_asi-2.1.3.tar.gz 229.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyobs-asi 2.1.3
File Interpreter ABI Platform
pyobs_asi-2.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 246.2 kB

Release files / pyobs_asi-2.1.3.tar.gz

Download URL pyobs_asi-2.1.3.tar.gz
Size 229.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2e4429e965390e4415054d5554c8655db353810cfd679e270c8320613edb5b36
BLAKE2b-256 checksum
How to use checksums
fbe6abf77e8765dae5c9e0891510787479f26c5bb8e29618c8f720cbaa24b793
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pyobs_asi-2.1.3-py3-none-any.whl

Download URL pyobs_asi-2.1.3-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7aeafd477f8398b09551b8a939f4fa706eb605892544bee83b5b272d7738f0b
BLAKE2b-256 checksum
How to use checksums
0b1cbfc576b175b7f7d4b1440c3359b718f49f5fc32e605f80fb97ac9f6773fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page