Open source microscope control using python
Project description
pycromanager
is a Python library for enabling microscope acquisition control and data analysis. It works together with Micro-manager and Micro-magellan.
Check out to the documentation for an idea of the capabilities and how to get started.
Have a cool example of something you've done with pycromanager
or an idea for improvement? Reach out on the issues page. Contributions/ideas/examples welcome!
Installing pycro-manager
- Download the lastest version of micro-manager 2.0
- Install pycro-manager using
pip install pycromanager
- Run Micro-Manager, select tools-options, and check the box that says Run server on port 4827 (you only need to do this once)
To verify everything is working, run the following code:
from pycromanager import Bridge
bridge = Bridge()
bridge.get_core()
which will give an output like:
Out[1]: JavaObjectShadow for : mmcorej.CMMCore
Troubleshooting
Upon creating the Bridge, you may see an error with something like:
UserWarning: Version mistmatch between Java ZMQ server and Python client.
Java ZMQ server version: 2.4.0
Python client expected version: 2.5.0
In this case case your Micro-manager version Pycro-manager versions are out of sync. The best fix is to download the latest versions of both. Uprgade to the latest Pycro-manager with:
pip install pycromanager --upgrade
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pycromanager-0.3.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a9147aff1ecd41c94ee0a135263e99fa4419e9e19ea1245f4562c2c07f82a77 |
|
MD5 | baa8940486da06afe513ea03166c3d91 |
|
BLAKE2b-256 | c4d5aa26d23c9608fb75f6b49e10074d9a47147a46c891bb80346f400a95e6d7 |