Volume Casting#

volume Object#

Since version 1.0, Tomwer can handle volume. Volumes ‘object’ are generated by the following widgets (on 1.1):

  • volume selector

  • cast volume

  • nabu volume reconstruction

  • python script

Here are two videos showing how you can create a volume object from scratch:

Volume Cast volume casting icon#

The volume cast mimics the nabu API. Here is an example of how to create a volume object and cast it.

[1]:
from IPython.display import YouTubeVideo

YouTubeVideo("gQRWCsyIm7U", height=500, width=800)
[1]:

Warning: The cast volume widget is now returning two volumes:

  • volume: Original volume

  • cast volume: The volume which has been casted

volume casting outputs

Hands-on - Exercise A#

Take one of the volumes from /scisoft/tomo_training/part5_volume_casting/volumes/ and cast it to another type using the volume selector and cast volume widgets.