Git Product home page Git Product logo

pycro-manager's Introduction

Documentation Status License Python Version PyPI PyPI - Downloads Code style: black

pycromanager is a Python library for customized microscope hardware control and integration with image processing. It works together with Micro-manager and Micro-magellan.

Check out to the journal article or 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.

Installing pycro-manager

  1. Download the lastest version of micro-manager 2.0
  2. Install pycro-manager using pip install pycromanager
  3. 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

with Bridge() as bridge:
	print(bridge.get_core())

which will give an output like:

<pycromanager.core.mmcorej_CMMCore object at 0x7fe32824a208>

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. Usually, this can be fixed by downloading the latest versions of both. Uprgade to the latest Pycro-manager with:

pip install pycromanager --upgrade

Contributing

We welcome community contributions to improve Pycro-manager, including bug fixes, improvements to documentation, examples of different use cases, or internal improvements. Check out the contributing guide to see more about the workflow. Areas where community contributions would be especially helpful can be found on the Issues page with a Help wanted label

Information about how to setup a development environment for the Java parts of Pycro-manager can be found here

pycro-manager's People

Contributors

henrypinkard avatar nanthony21 avatar ianhi avatar marktsuchida avatar rmeit avatar carlkesselman avatar raymonddunn avatar oeway avatar dpshepherd avatar impact27 avatar mdanderson03 avatar chrisweisiger avatar binyangoptics avatar ischoegl avatar ieivanov avatar mutterer avatar binli123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.