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

Uploaded Source

Built Distribution

pymm_eventserver-0.1.13-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pymm_eventserver-0.1.13.tar.gz
Algorithm Hash digest
SHA256 2022c619b1c9b655efc4fa326e8a726e9d57b301554db2eff61a1626f9eecef0
MD5 f027dc1eca82a4c1bafa0735bc76f190
BLAKE2b-256 8aba9a4685cb49395d66283d33e3681b893bf183547ef831808cadd4d4d3c69b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymm_eventserver-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 d0181a0bbded0238514d7030b0a073936b0764555f9f7c8884a168e42389dd64
MD5 47358b59e66a21a516e0221801f6b03f
BLAKE2b-256 ef5b028d8fea4c8d6a60bfa2ee525bb65b3743fec965d830766dfbbf89eb6c35

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