pyobs-aravis

This is a pyobs (documentation) module for Aravis network cameras.

Example configuration

This is an example configuration, tested on a TIS 23GP031:

class: pyobs_aravis.AravisCamera
device: The Imaging Source Europe GmbH-DMK 23GP031-00000000
centre: [947.0, 839.0]
rotation: -97.07
flip: True
filenames: /camera/pyobs-{DAY-OBS|date:}-{FRAMENUM|string:04d}.fits
video_path: /camera/video.mjpg

buffers: 5
settings:
  Gain: 0
  BlackLevel: 0
  FPS: 15

# location
timezone: utc
location:
  longitude: 9.944333
  latitude: 51.560583
  elevation: 201.

# communication
comm:
  jid: test@example.com
  password: ***

# virtual file system
vfs:
  class: pyobs.vfs.VirtualFileSystem
  roots:
    cache:
      class: pyobs.vfs.HttpFile
      upload: http://localhost:37075/

Available classes

There is one single class for Aravis network cameras.

AravisCamera

class AravisCamera(device: str, settings: dict[str, Any] | None = None, buffers: int = 5, **kwargs: Any)

Bases: BaseVideo, IExposureTime

A pyobs module for Aravis cameras.

Initializes a new AravisCamera.

Parameters:
  • device – Name of camera to connect to.

  • settings – Dictionary of camera settings to apply on connect.

  • buffers – Number of acquisition buffers.

async close() None[source]

Close the module.

async open() None[source]

Open module.

async set_exposure_time(exposure_time: float, **kwargs: Any) None[source]

Set the exposure time in seconds.

Parameters:

exposure_time – Exposure time in seconds.