Plugin bundle for the OpenUC2 'Mimir' microscope
Project description
redsun-mimir
Bundle of redsun components for the openUC2 "Mimir" microscope
About mimir
Mimir is the codename for an in-development portable interferometric scattering microscope (iSCAT), with an hardware controller developed by openUC2. It employs pymmcore-plus for camera control and pyserial for motor and laser control.
redsun-mimir is a bundle of components developed to target the specific hardware and software requirements for real-time acquisition with said microscope.
[!NOTE] This bundle has been used as a staging ground for development in cohesion with the main framework. Some components may be moved to
redsunitself to be provided as built-in functionalities. Expect breaking changes as the framework evolves.
[!WARNING] The
youseetoomodule has not been fully tested and there is currently no known way of testing it in a continous integration. Ensure you can pre-emptively test the components locally.
Installation
It is strongly reccomended to install redsun-mimir in a virtual environment.
uv (reccomended)
Be sure to install
uvfirst.
# create the venv
uv venv --python 3.10
# activate the environment in...
# ... linux
source .venv/bin/activate
# ... windows
.venv\Scripts\activate
uv pip install redsun-mimir
pip
You should have Python installed in your machine.
# create the venv
python -m venv .venv
# activate the environment in...
# ... linux
source .venv/bin/activate
# ... windows
.venv\Scripts\activate
pip install redsun-mimir
Installing from source
redsun-mimir is developed via uv; you can clone the repository and install development dependencies:
git clone https://github.com/redsun-acquisition/redsun-mimir
cd redsun-mimir
uv sync
Running a simulator container
redsun-mimir comes with a simple simulation environment with simulated devices for demonstration purposes.
To run it, you have to:
- install the package in your virtual environment by adding the
simoptional dependencies; - run
mmcore install(or alternatively one of the methods described here). - run the container via
mimir sim.
uv (reccomended)
# in your virtual environment
uv pip install redsun-mimir[sim]
# install micro-manager device adapters
mmcore install
# run the example container via command line
mimir sim
pip
# in your virtual environment
pip install redsun-mimir[sim]
# install micro-manager device adapters
mmcore install
# run the example container via command line
mimir sim
Features
- Live data capture.
- Median computation based on square-scan movement for background noise reduction following the procedure described in this paper.
- Image visualization leveraging
napari. - Data storage in Zarr v3 format via
acquire-zarr. - Manual control of light source and motor drivers.
- Fully extensible via additional components following the
redsunframework.
Contributing
Contributions are very welcome. Tests can be run with pytest, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the Apache Software License 2.0 license,
redsun-mimir is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file redsun_mimir-0.2.0.tar.gz.
File metadata
- Download URL: redsun_mimir-0.2.0.tar.gz
- Upload date:
- Size: 60.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e27dddb3aad9300a94a2a94c1a71af8145fff23382cb4db9b2d6ef15d3953ef2
|
|
| MD5 |
1db7b86cb0dada8a7cb972c86dc6b484
|
|
| BLAKE2b-256 |
ab4741c9c30a2c8649892ab114dba70c1bfe13dc5c563e02e5716622ed09c54f
|
Provenance
The following attestation bundles were made for redsun_mimir-0.2.0.tar.gz:
Publisher:
ci.yaml on redsun-acquisition/redsun-mimir
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
redsun_mimir-0.2.0.tar.gz -
Subject digest:
e27dddb3aad9300a94a2a94c1a71af8145fff23382cb4db9b2d6ef15d3953ef2 - Sigstore transparency entry: 1050020627
- Sigstore integration time:
-
Permalink:
redsun-acquisition/redsun-mimir@6f84ab92770a3b3af38a4efec8185d339976dd0a -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/redsun-acquisition
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@6f84ab92770a3b3af38a4efec8185d339976dd0a -
Trigger Event:
push
-
Statement type:
File details
Details for the file redsun_mimir-0.2.0-py3-none-any.whl.
File metadata
- Download URL: redsun_mimir-0.2.0-py3-none-any.whl
- Upload date:
- Size: 89.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f5a13b5d1b4bc9fb22743a3d5c6ae7e05f21abac949d209a2cd4f2ffeffb9cb
|
|
| MD5 |
5f1af353268696ba859fd524ddb7164b
|
|
| BLAKE2b-256 |
d6579794ffe7fd53109a378f6f327062dea461ddd8b13fa247f38e0ca685f0cc
|
Provenance
The following attestation bundles were made for redsun_mimir-0.2.0-py3-none-any.whl:
Publisher:
ci.yaml on redsun-acquisition/redsun-mimir
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
redsun_mimir-0.2.0-py3-none-any.whl -
Subject digest:
2f5a13b5d1b4bc9fb22743a3d5c6ae7e05f21abac949d209a2cd4f2ffeffb9cb - Sigstore transparency entry: 1050020681
- Sigstore integration time:
-
Permalink:
redsun-acquisition/redsun-mimir@6f84ab92770a3b3af38a4efec8185d339976dd0a -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/redsun-acquisition
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@6f84ab92770a3b3af38a4efec8185d339976dd0a -
Trigger Event:
push
-
Statement type: