pytrip.utils.cubeslice module

Generates .png files for each slice found in the given cube.

pytrip.utils.cubeslice.load_ct_cube(filename)[source]

loads the CT cube

Params str filename:
 path to filename which must be loaded
Returns:a CtxCube object and a str containing the path to the basename.
pytrip.utils.cubeslice.load_data_cube(filename)[source]

Loads either a Dos or LET-cube.

Params str filname:
 path to Dos or LET-cube.
Returns:a DosCube or LETCube object and a str containing the path to the basename.
pytrip.utils.cubeslice.main(args=['-T', '-E', '-b', 'readthedocs', '-d', '_build/doctrees-readthedocs', '-D', 'language=en', '.', '_build/html'])[source]

The main function for cubeslice.py