Skip to main content

Mini utility that handles pictures taken for QUAK/ESR experiment by ThorCam camera

Project description

QUAK/ESR ThorCam interface

Note: Work in progress, SCP interface currently not working

This is a small Python service that runs on a Windows machine to which the ThorCam is attached to provide a bridge into the control system that has been realized on an OpenSource platform - it exposes an MQTT interface for configuration of camera settings and queue configuration as well as event signalling and allows to transfer images taken using SCP.

Since the required .NET library to interface with the not so simple to handle closed source ThorCam library this application only runs on Windows.

Installation

pip install quakesrthorcam-tspspi

Configuration file

MQTT section

Camera section

  • serial is able to specify the serial number of the camera that the service should bind to
  • trigger is an dictionary that is able to configure the default trigger settings:
    • hardware can be true or false
    • count specifies the number of frames to capture after the trigger has triggered the camera. This has to be either 0 for continuous capture or an positive integer.

Dependencies

  • paho-mqtt is the Eclipse Paho MQTT Python client that provides the interface to the MQTT broker (currently running on an RabbitMQ instance)
  • thorcam is a wrapper around the .NET libraries supplied for the ThorCam service.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quakesrthorcam-tspspi-0.0.1a2.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

quakesrthorcam_tspspi-0.0.1a2-py3-none-any.whl (9.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page