tomwer Slice-Stack#

Purpose#

The tomwer slice-stack command is provided to view a set of ‘single-slice’ volumes.

  • The user can provide a list of single-slice volumes to be displayed directly.

  • Alternatively, the user can provide a set of scans. In this case, the application will attempt to deduce reconstructed slices from existing paths at specific locations (e.g., reconstructed_slices, RAW_DATA, PROCESSED_DATA) and display what is relevant. This approach is more uncertain than the previous one.

Warning

At the moment, the application only handles ‘single’ slice volumes.

Note

All volumes generated by nabu are compatible with this viewer.

../_images/slicestackwidget.png

Demo#

Usage#

usage: tomwer slice-stack [-h] [--use-opengl-plot] [--debug]
                          [volume_paths ...]

Application to display findable reconstructed slice of a scan (as a stack).
reconstructed slices can be added by hand or as input(s) of the command line.

positional arguments:
  volume_paths          Volumes to be added to the slice stack visualization.
                        Warning: volumes should be single slice volumes.

options:
  -h, --help            show this help message and exit
  --use-opengl-plot, --opengl-backend
                        Use OpenGL for plots (instead of matplotlib)
  --debug               Set logging system in debug mode

Example#

tomwer slice-stack *.hdf5