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.2

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.2
File Size Uploaded
pyobs_asi-2.1.2.tar.gz 229.1 kB Details

Built distribution (wheel)

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

Total release size: 246.2 kB

Release files / pyobs_asi-2.1.2.tar.gz

Download URL pyobs_asi-2.1.2.tar.gz
Size 229.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fbe85ad113836382f1f7609dc5dc2cac9f288939c727d301334cc5fcb14a2ee9
BLAKE2b-256 checksum
How to use checksums
516680edbbdac104f72810669902894f1c9398a7c872c760152b6ec824a20d06
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.2-py3-none-any.whl

Download URL pyobs_asi-2.1.2-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cbf40177adc9e6a9887dc7d7520a5157713e85d6ae377af0cfdda1d8addbd22
BLAKE2b-256 checksum
How to use checksums
6d6b6a92fd9669afa18b2ce2f6e44c3f8f25abb7bc5459f6bf463eedb51b435e
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