/imswitch-sim

This is a plugin that acquires and reconstructs SIM Images in ImSwitch

Primary LanguagePythonMIT LicenseMIT

imswitch-sim

License MIT PyPI Python Version tests codecov napari hub

This plugin will organize image acquisition and reconstruction of structured illumination microscopy data.


This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.

Usage

To inclue this into the ImSwitch installation, you have to add the following items to your config:

"availableModules": "imswitch_sim"

  "imswitch_sim": {
    "monitorIdx": 2,
    "width": 1080,
    "height": 1920,
    "wavelength": 0,
    "pixelSize": 0,
    "angleMount": 0,
    "patternsDirWin": "C:\\Users\\wanghaoran\\Documents\\ImSwitchConfig\\imcontrol_slm\\488\\",
    "patternsDir": "/users/bene/ImSwitchConfig/imcontrol_sim/488",
    "isSimulation": 0,
    "nRotations": 3,
    "nPhases": 3,
    "isFastAPISIM": 1,
    "simPixelsize": 1,
    "simNA": 0,
    "simN": 0,
    "simETA": 0,
    "fastAPISIM_host": "192.168.0.1",
    "fastAPISIM_port": 0,
    "tWaitSequence": 0
  }

Installation

You can install imswitch-sim via pip:

pip install imswitch-sim

To install latest development version :

pip install git+https://github.com/openuc2/imswitch-sim.git

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, "imswitch-sim" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.