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:

Install using pip

pip install pymm_eventserver
python
>>> import pymm_eventserver.setup
>>> pymm_eventserver.setup.install_java_server()
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.18.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

pymm_eventserver-0.1.18-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymm_eventserver-0.1.18.tar.gz
  • Upload date:
  • Size: 21.6 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.18.tar.gz
Algorithm Hash digest
SHA256 40e921bf95a5665a4181546a15041796887a6af4958ebf2e8fd557619559eabc
MD5 7497f1d57d5b281dc938d624ff5b58fa
BLAKE2b-256 fb84ae0ba8d665044946cb0323e654ff5fb26e5991e4d7581acab2da0dd66186

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymm_eventserver-0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 9e58b982e7bca6b074629d68ed5162f1781c97abe529f5b16d4a4aab3dd3e76c
MD5 22023b668fe74ee21bc042d34c379078
BLAKE2b-256 4cfb39507c9ca3d25b9c29c17794c4fbe1f6ba6d5b17a92df79846ab0a37e5a2

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