PyVoyis
Python library for controlling the Voyis Recon LS camera, strobes and laser system.
Installation
Use pip to install the library:
pip install pyvoyis
Usage
The library can be used as standalone or as a module. The following examples show how to use it as a module.
from pyvoyis import VoyisAPI, Configuration
# Create a configuration object
c = Configuration()
# Set your parameters
c.ip_address = "192.168.1.10"
c.port = 4875
# Instance the API
api = VoyisAPI(c)
# If you want the acquision to start straight away, you can request it
api.request_acquisition()
api.run() # This will block until the acquisition is finished and the API disconnected
# From a different thread, you can request a stop
api.request_stop()
or you can call the API from the command line:
pyvoyis --ip 192.168.1.10 --port 4875
and it will start the acquisition and block until it's stopped with Ctrl+C.
Configuration
All configuration parameters can be set via YAML file, and the file needs to be provided to the API either via the module or via command-line.
pyvoyis --config config/pyvoyis.yaml
See config/pyvoyis.yaml for more information.
Notes
If the IP address of the time source or nav source are not "pingable" the device does not report and AckRsp. Sometimes it might realise and return a "Bad parameter" error.
Can the laser be disabled via software?
Set laser intensity to zero or laser camera frequency to 0 Hz.
What are the max frequencies for cameras?
If the raw laser images are saved to disk, its frequency is currently limited to 1 Hz.
Laser calibration
Can we take images of the laser with both cameras? (e.g. leave the laser ON continuously and disable the strobes?)
Metadata
Release files for pyvoyis 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyvoyis-1.0.4.tar.gz | 40.0 kB | Without provenance | Details for pyvoyis-1.0.4.tar.gz |
Release files / pyvoyis-1.0.4.tar.gz
| Download URL | pyvoyis-1.0.4.tar.gz |
|---|---|
| Size | 40.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f583168044741e4f3e62e4865a14ac39bc45b59db0259dcf81145d7eaa33fe29
|
|
BLAKE2b-256 checksum How to use checksums |
7bf5881f96243dca7abfb96911e180cdae1d0c5463fcf5d1f23afdb9b5c69d9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|
Security for pyvoyis 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.