snouty-viewer
Description
Easy to use plugin for opening raw Snouty files and converting them to native view.
Allows for saving to ome.tif files with corresponding OME-XML based metadata.
Also allows for bulk deskewing and saving directories.
Intended Audience & Supported Data
This plugin is intended for those using a SOLS (Snouty) microscope collected via Alfred Millett-Sikking's code.
This plugin accepts a folder with at least subdirectories of data and metadata as an input.
Quickstart
A. Getting the plugin working (choose either a or b, you don't have to do both)
a. Through pip-install:
- pip install snouty-viewer (within a virtual environment of Python 3.8, 3.9, or 3.10 recommended)
- Open up napari
b. Through Napari:
- Open up napari
- Plugins > Install/Uninstall plugins
- Search for "snouty-viewer"
- Install
- (Maybe need to) reopen napari
B. Viewing raw Snouty data
- Drag and drop a root folder of your Snouty data. This is the folder that includes the data and metadata subfolders.
- Select "Snouty Viewer" for opening.
C. Converting raw Snouty data to its native view
- Click plugins, snouty-viewer -> Native View
- Select the file you want to convert
- Press Deskew
D. Saving your native view file
- Select the channel (or multi-channel) layer you want to save
- File > Save Selected Layer(s)...
- Select where you want to save your file
- Title your file, ".ome.tif" will automatically be appended.
- Save with "Snouty Writer"
- Wait (this could take a few minutes depending on your file's size and your hardware)
E. Batch saving
- Click plugins, snouty-viewer -> Batch Deskew & Save
- Input a directory (without quotes) that contains 1 or more Snouty-acquired directories.
- If you want to view your deskewed outputs, check the box.
- If you want to automatically save the deskewed outputs, check the box.
- Press Deskew and save
- Wait (this could take a few minutes depending on your files' sizes and your hardware)
Getting Help
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
Installation
You can install snouty-viewer via pip:
pip install snouty-viewer
To install latest development version :
pip install git+https://github.com/aelefebv/snouty-viewer.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, "snouty-viewer" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for snouty-viewer 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| snouty_viewer-0.2.5.tar.gz | 14.4 kB | Without provenance | Details for snouty_viewer-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| snouty_viewer-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for snouty_viewer-0.2.5-py3-none-any.whl |
Total release size: 29.9 kB
Release files / snouty_viewer-0.2.5.tar.gz
| Download URL | snouty_viewer-0.2.5.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11d8007de6ae4b8462842fcdf0890545ad2646ded18b4573cb0d3846fad5b1a8
|
|
BLAKE2b-256 checksum How to use checksums |
9957adecba0cd6f511d369c3d0fc346b673ca69551a91095d9cfa45bf6a21438
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / snouty_viewer-0.2.5-py3-none-any.whl
| Download URL | snouty_viewer-0.2.5-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f09bded92f99903ebef9e4badd5c0bd9a444d1a2cd2bcdc0c5e85e7c8d251b6
|
|
BLAKE2b-256 checksum How to use checksums |
9bebcd6aa26391cb3e8083abc63d78942c9b3dd147182f2b89e1583df47c9245
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Security for snouty-viewer 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.