Module Type & Category
Category: Python Modules
Authors, Collaborators & Contact
- Luca Antiga: Mario Negri Institute
- Daniel Blezek: Mayo Clinic
- Contact: Luca Antiga, email@example.com
This Python module makes it easy to experiment with Python in Slicer without interacting with the console and without restarting Slicer when working on the code. The module is meant for experimentation and fast prototyping, and it is not recommended for deployment of full-fledged Python modules.
Examples, Use Cases & Tutorials
- The module is appropriate when a user wants to try out or rapidly prototype Python code in Slicer, prior to writing full-fledged modules and without need of restarting slicer in-between modifications.
- The recent availability of an iPython console in Slicer has made it more convenient to use the interactive console for the same tasks.
Quick Tour of Features and Use
List all the panels in your interface, their features, what they mean, and how to use them. For instance:
- Python Script Parameters:
- Script file: the (text) file where the Python code is located
- Input Surface: the input surface, to be referenced as variable "inputSurface" in the Python code contained in the Script file.
- Input Volume: the input volume, to be referenced as variable "inputVolume" in the Python code contained in the Script file.
- Output Surface: the output surface, to be referenced as variable "outputSurface" in the Python code contained in the Script file.
- Output Volume: the output volume, to be referenced as variable "outputSurface" in the Python code contained in the Script file.
Example of Python code contained in the Script file is
Follow this link to the Slicer3 bug tracker.
Follow this link to the Slicer3 bug tracker. Please select the usability issue category when browsing or contributing.
Source code & documentation
Follow this link to the module.
Links to documentation generated by doxygen.