This package provides an extension to pymmcore-gui.
Current features target use cases within the Laboratory for Optical and Computational Instrumentation at the University of Wisconsin-Madison.
from pip:
TODO
from github:
pip install 'pymmcore-openscan @ git+https://github.com/gselzer/pymmcore-openscan'from the command line:
mmosfrom python:
from pymmcore_openscan import run
run()Developers should use uv to create a suitable development environment:
git clone git@github.com:gselzer/pymmcore-openscan
cd pymmcore-openscan
uv syncTo run this GUI, you'll need to add the following to an existing micro-manager installation:
mmgr_dal_OpenScan.dllfromopenscan-mm-adapter- A few files from the TCSPC Package from Becker & Hickl:
dcc64.dll, needed for the DCC - instructions here, found atC:\Program Files (x86)\BH\DCC\DLL\dcc64.dllspcm64.dllfromC:\Program Files (x86)\BH\SPCM\DLL\spcm.inifromC:\Program Files (x86)\BH\SPCM\DLL\- IF SIMULATING, you must set the simulation flag to
180(or whatever model number you are simulating):
simulation = 180 ; 0 - hardware mode(default) , ; >0 - simulation mode (see spcm_def.h for possible values)- IF SIMULATING, you must set the simulation flag to
OpenScanBHSPC.osdevfromOpenScan-BH_SPCOpenScanNIDAQ.osdevfromOpenScan-OpenScanNIDAQ
Testing this package is tricky, because we don't have access to the DLLs (and hardware) necessary to enable all features. For that reason, tests are designed to:
- Ensure unsurprising behavior when devices and/or micro-manager adaptors for those devices are unavailable.
- Ensure functionality is accessible from pymmcore-gui.
The tests we do have can be run from the command line:
uv run pytest