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:
From dedicated interface: https://www.youtube.com/watch?v=4-RJKWlP74w
By drag and drop and some guess: https://www.youtube.com/watch?v=R2jJrIZlGY8
Volume Cast #
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 volumecast volume
: The volume which has been casted
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.