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.6.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

pymm_eventserver-0.1.6-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymm_eventserver-0.1.6.tar.gz
  • Upload date:
  • Size: 20.0 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.6.tar.gz
Algorithm Hash digest
SHA256 905caaa298dce4ec7d03bc8d732f628be84ce10b47e7ccedde7694c5e0a5b6ef
MD5 95080c85b48ebc1da70582acf111f1ca
BLAKE2b-256 88cf4af1b6f652f98ddb303a2d4294c2f44d98495d5e826ed07c52e0e03e4de5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymm_eventserver-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 01b947de59a2ff282992570d81f0b64a0a803472203934fcd0a43a9f94ecb583
MD5 95ccce32401d263f670b47c4e47a63cd
BLAKE2b-256 66c5a45f40f1a2a41ff2acec6d2e3aafaa88ebc5913c8ddec0f540524fdd4dd0

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