controls for napari and micromanger
Project description
avidaq
controls for napari and micromanger
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
Installation
Standard installation
You can install avidaq
via pip:
pip install napari[all] avidaq
Install from plugin menu
Alternatively you can install avidaq
via the napari plugin menu:
Running
First start micromanager. Make sure the server port checkbox is activated.
Then to start napari with the avidaq plugin active run:
napari -w avidaq
Updating presets
MDA presets are stored in a json file in the user's home directory.
`C:\\Users\YourName\.avidaq\mda_presets.json`
This file should exist after plugin installation with some defaults. You do not need to create the file yourself.
Add or modify the values and reload napari to see the changes.
All parameter entries are optional, if not provided the default value will be used.
The parameter names and their descriptions can be found [here] (https://github.com/micro-manager/pycro-manager/blob/main/pycromanager/acq_util.py#L102-L115)
The format is as follows:
{
"gui_display_name": {
"parameter_name": value,
"parameter_name": value,
...
},
"gui_display_name": {
"parameter_name": value,
"parameter_name": value,
...
},
...
}
defaults:
{
"Basic": {
"num_time_points": 5,
"z_start": 0,
"z_end": 6,
"z_step": 0.4
},
"Simple": {
"num_time_points": 2,
"z_start": 0,
"z_end": 2,
"z_step": 0.1
},
"Detailed": {
"num_time_points": 10,
"z_start": 0,
"z_end": 12,
"z_step": 0.2
}
}
Issues
If you encounter any problems, please [file an issue] along with a detailed description.
Development
You should have python3.8 or higher installed.
- clone this repo
- create a virtual environment
python -m venv .venv && source .venv/bin/activate
- run
pip install -e '.[testing,build]'
- run
pre-commit install
To run unit tests
pytest
typical workflow
- edit code in
/src
- run napari -w avidaq
- repeat
Releasing to pypi
Project is automically built and deployed to pypi upon
Project details
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
File details
Details for the file avidaq-0.0.5.tar.gz
.
File metadata
- Download URL: avidaq-0.0.5.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1691bce07c54b890cec8a7feadb19fd47fef1fb6d689b9b2ff32502a49df6ac |
|
MD5 | 603b1e18945abedf8c670e6a82ab5f76 |
|
BLAKE2b-256 | b62b6ebce7a82cbcfdf210e7fbff1e9ca994097cfcf24c13f670976dab00bb1e |
File details
Details for the file avidaq-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: avidaq-0.0.5-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fee42b04eb4af5b60a7a721e34d6dd6e825c7b10d5b5f96232fe1a1c6f65f5a6 |
|
MD5 | 2ad73babaf5fe4982ec25d9e6076de5f |
|
BLAKE2b-256 | a4a702a564708c8b8f7288b52b9587935148add685005a1e4892d5b61597d764 |