Skip to main content

napari viewer which can read stpt images as zarr files

Project description

napari-stpt

A napari viewer which reads stpt images as zarr files.

Installation Windows

Start -> Anaconda3 (64-bit) -> Anaconda Prompt (Anaconda3)

Type:

>conda create -n py37 python=3.7

>conda activate py37

>pip install napari-stpt --upgrade

Installation Linux

Applications -> Terminal Emulator

Type:

>pip install napari-stpt --upgrade

How to run

The napari viewer can be run from command line by typing:

>napari-stpt

How to use

  1. If working within the IMAXT Windows VMware or Linux remote desktop, the Data folder containing the STPT images will have been automatically selected (windows server: N:/stpt/; linux: /data/meds1_c/storage/processed/stpt). If not, please select the location of the folders with STPT Zarr files using the "Set folder" button.
  2. The dropdown box should now have all the available STPT images.
  3. Select the image file from the dropdown box.

2D rendering (slice view)

  1. Select the slice you wish to view using the scroll bar.
  2. Press the "Load slice" button to load the image.
  3. When zooming using the mouse wheel the resolution will update dynamically.

3D rendering

  1. The "Output pixel size" is the resolution to which the images are reformatted (after applying the translations based on the bead locations).
  2. The "Maximum number of optical slices" can be set in case the optical slices go beyond the slice thickness of 15um. For example, if we have 9 optical slices of 2um we should use only 7 slices.
  3. Select which channels to load.
  4. Press "Load image 3D".
  5. To crop the volume draw a shape using the add rectangles button of napari. To do this select the "New shapes layer" button and then "Add rectangles" button. Draw a box across the image according to the region you wish to crop.
  6. Pressing "Crop to shape" will just crop the colume to this region.
  7. Pressing "Reload in shape" will reload the slices. In this case you can set a different output pixel size. To get the full resolution use a value of 0.5, although a value of 1 or 2 will in most cases suffice. Be aware that due to the limited memory the region will have to be rather small if the resolution increases.
  8. Press "Save volume" to save the multi-channel volume to a tiff file.
  9. Press the "Toggle number of display dimensions" button at the botton left (or press Ctrl-Y) to see the volume in 3D.

Bead removal

Removing the beads requires a "Tissue threshold value" to be set which separates the tissue from background. Move the mouse over the image to get an idea of the values, which are shown in the status bar. There are two ways to remove the beads in a volume:

  1. Press button "Show only large regions" to remove all but the largest regions. The number of regions to retain can be selected for this.
  2. Press button "Remove small regions" to remove all the regions smaller than the size as defined by the "Minimum size".

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

napari-stpt-0.0.8.23.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

napari_stpt-0.0.8.23-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file napari-stpt-0.0.8.23.tar.gz.

File metadata

  • Download URL: napari-stpt-0.0.8.23.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/2.1.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for napari-stpt-0.0.8.23.tar.gz
Algorithm Hash digest
SHA256 700638a822135351e1b3ab4e27145a2fb28a040a978a85297dd5fd77b1e6ba7f
MD5 95d500a2f0d81b19db6d734c111d8e45
BLAKE2b-256 307765d383e389a62eb741fd9594ea52b36af07850de7f355a1e1c8749c2d65b

See more details on using hashes here.

File details

Details for the file napari_stpt-0.0.8.23-py3-none-any.whl.

File metadata

  • Download URL: napari_stpt-0.0.8.23-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/2.1.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10

File hashes

Hashes for napari_stpt-0.0.8.23-py3-none-any.whl
Algorithm Hash digest
SHA256 a00bebb478761c93875127ec6888b067caa74e3d4f5522195a1dbc6b7fb3044a
MD5 1b21da72db481500c7f5bdb81f7f8931
BLAKE2b-256 7328f6501c94dcc141651826037c4ce90bb1346f8fc5a0a8cebec2914a341c9b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page