Skip to main content

Micro-Manager PythonEventServer

Project description

pymm-eventserver

Event Server to receive Micro-Manager events in python via zeromq

This module functions as a plugin for Micro-Manager and takes a lot of inspiration and some functionality from PycroManager (https://pycro-manager.readthedocs.io/en/latest/index.html)

The server follows the logic of Pycromanager:

sequenceDiagram
    MicroManager->>ZMQ: Event
    activate MicroManager
    Note over MicroManager: Store java object
    ZMQ->>PythonEventServer: Event-ID
    PythonEventServer->>Code: pyqtSignal
    Code-->>ZMQ: Function call (Event-ID)
    ZMQ-->>MicroManager: Call on Java object
    MicroManager->>ZMQ: Output
    ZMQ->>Code: Output
    Note over MicroManager: Keep object for <br> later calls
    deactivate MicroManager

The exception are events that contain image data. As keeping those object in memory on the java side will lead to pretty heavy memory usage in the ImageJ heap space pretty quickly. So these are sent directly over the zeromq bus. If they are not received correctly, the image data will be lost.

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

pymm_eventserver-0.1.9.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

pymm_eventserver-0.1.9-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file pymm_eventserver-0.1.9.tar.gz.

File metadata

  • Download URL: pymm_eventserver-0.1.9.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for pymm_eventserver-0.1.9.tar.gz
Algorithm Hash digest
SHA256 44a04f9fb52126565dc5e4baff6e7c7b090ff401505cef1295cfaa399ba131fc
MD5 ce48a154dd2ed00aca32e5c57dc5bd6c
BLAKE2b-256 d0a9eae7e67c146bb9940a9ec84e98fc795fc8d8426acbb13f1cb1c90361a296

See more details on using hashes here.

File details

Details for the file pymm_eventserver-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for pymm_eventserver-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 48aab51d82fab708c06def30277c147caef24574f0dff52f5f397d1104a3691f
MD5 9453e9e4b42bc5ea8ba1eaba04759593
BLAKE2b-256 dc6d1845c19252970cf4e3751562d48b7a85a56597f3615d00f38a4572e4d301

See more details on using hashes here.

Supported by

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