A plugin to visualize and convert Snouty data.
Project description
snouty-viewer
Description
Easy to use plugin for opening raw Snouty files and converting them to native view.
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. The metadata must have a 000000.txt file for the metadata to be properly parsed.
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 Run
D. Saving your native view file
- Select the file you want to save
- File > Save Selected Layer(s)...
- Select where you want to save your file
- Write your file name (recommended to end in .tif)
- Save
- Wait (this could take a few minutes depending on your file's size)
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.
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
Hashes for snouty_viewer-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 072f16844edbc8885dd0eb395538a7098231a671b58ff6e5b25f3db796e87a65 |
|
MD5 | dee888471e4459c6775dbe3ffdc6d739 |
|
BLAKE2b-256 | e917e7484feda9c9e2571fd6d98b53645aed80a7edf0a6217c0565f3af91accb |