Install the Micro Manager by running pip install --user micro-manager-precice.

Get the latest Micro Manager release

Option 1: Install using pip

The Micro Manager package on PyPI is micro-manager-precice. To install, run

pip install micro-manager-precice

To enable crash handling by interpolation, the optional dependency sklearn is required. To install with sklearn, run

pip install micro-manager-precice[sklearn]

To use the Micro Manager for snapshot computation, the optional dependency h5py is required. To install with h5py, run

pip install micro-manager-precice[snapshot]

Option 2: Install manually

Required dependencies

Ensure that the following dependencies are installed:

Optional dependencies

Clone the Micro Manager

git clone https://github.com/precice/micro-manager.git

Install manually

To install using pip, go to the directory micro-manager/ and run

pip install .

Adding optional dependencies works as above by adding them after the dot, e.g. .[sklearn].

Get the latest development version

If you want to use the latest development version of the Micro Manager, clone the develop branch and then build manually using pip.

Next step

After successfully installing the Micro Manager, proceed to preparing your micro simulation for the coupling.