Skip to content

Commit

Permalink
Merge pull request #101 from BioimageAnalysisCoreWEHI/add_napari_docs
Browse files Browse the repository at this point in the history
Add docs for napari plugin
  • Loading branch information
pr4deepr authored Jan 31, 2025
2 parents e98fa06 + 811dcd5 commit 413c4b6
Show file tree
Hide file tree
Showing 18 changed files with 66 additions and 1 deletion.
Binary file added docs/images/001_start_plugin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/002_plugin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/003_open_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/004_configure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/005_deskewed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/deskew_active.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/green_tick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/plugin_tabs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions docs/napari_plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Napari Plugin

## Starting the plugin

The napari plugin has been redesigned in the newer version.
To activate the plugin, activate the `napari-lattice` environment in your terminal and type `napari` in the console.
The plugin is under `Lattice Lightsheet Analysis`

![Activate plugin](./images/001_start_plugin.png){ width="600" }

The plugin should appear on the right side. You may have to resize the window.

![llsz_plugin](./images/002_plugin.png){ width="600" }

The functionalities with napari-lattice have been separated out into tabs:

![plugin_tabs](./images/plugin_tabs.png){ width="600" }

If its configured correctly, you should see a green tick next to the tab name, else you will see a red cross.

![green_tick](./images/green_tick.png)

To load an image, drag and drop it into napari. You can get some sample data [here](https://zenodo.org/records/7117784). We are using `RBC_tiny.czi` as an example here.

![open_image](./images/003_open_image.png){ width="600" }

## Configuration

To configure any parameters, you can change the settings here:

![settings](./images/004_configure.png)

## Deskewing

To use the specific image for processing, you will have to select it under the `Image Layer(s) to Deskew` box on the right. Here, we will click on `RBC_tiny`. As its a czi file it should read the `metadata` accordingly and you will see a green tick.

![deskew_active](./images/deskew_active.png)

If you are loading a czi, the metadata fields should be populated automatically.

To `Preview` the deskewed image, click `Preview` and choose the appropriate `channel` and `time`.

You should see the deskewed image appear as an extra layer with the `Preview` suffix attached to it.

![deskewed](./images/005_deskewed.png){ width="600" }

??? Extra_info
If you look at the terminal after deskew, you should see the settings used and any other metadata associated with the dataset. It is handy for troubleshooting.

More instructions to be added...

## Deconvolution

## Cropping

## Workflow

## Output (Saving files)



6 changes: 5 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
site_name: Napari Lattice
site_name: napari_lattice

markdown_extensions:
- mkdocs-click
Expand All @@ -7,10 +7,14 @@ markdown_extensions:
- pymdownx.superfences
- admonition
- pymdownx.details
- attr_list
- md_in_html
- pymdownx.blocks.caption

nav:
- index.md
- installation.md
- napari_plugin.md
- cli.md
- api.md
- workflow.md
Expand Down
Binary file removed resources/LLSZ_window.png
Binary file not shown.
Binary file removed resources/crop&deskew_active.png
Binary file not shown.
Binary file removed resources/crop&deskew_initial.png
Binary file not shown.
Binary file removed resources/deconvolution.png
Binary file not shown.
Binary file removed resources/installation.jpg
Binary file not shown.
Binary file removed resources/plugin_installation.png
Binary file not shown.
Binary file removed resources/preview_deskew.png
Binary file not shown.
Binary file removed resources/workflow.png
Binary file not shown.

0 comments on commit 413c4b6

Please sign in to comment.