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.
Metadata
Release files for pymm-eventserver 0.1.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymm_eventserver-0.1.19.tar.gz | 21.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymm_eventserver-0.1.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.3 kB
Release files / pymm_eventserver-0.1.19.tar.gz
| Download URL | pymm_eventserver-0.1.19.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76bc076c6b0a3ae8a874a4350e5774f7793a0e7eed9518afd114ffcca46cf22e
|
|
BLAKE2b-256 checksum How to use checksums |
9680690e2af3b08382cf8f5c34a9544fd1a62ea0d11b10299b063ffd41d80174
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|
Release files / pymm_eventserver-0.1.19-py3-none-any.whl
| Download URL | pymm_eventserver-0.1.19-py3-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93b145ea1b9d5cd1de0cdb5bfcbfedd25dbca81b96f8a4eb98269f7596f36c87
|
|
BLAKE2b-256 checksum How to use checksums |
0c5e69e67404c7f0684aaaccee44c15bc5f108cf5e433bb6b7ea136cf78d59c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|