How can jupyter control all the slicer

Hi everyone,

I am new to Slicer and would like to understand how Jupyter can be used to control Slicer. Specifically:

  1. Does using Jupyter mean that I can debug and trace the execution of different modules within Slicer, such as following specific processes step by step?
  2. Additionally, if I want to create my own module and run it through Jupyter, is that possible?

I am particularly interested in the first question, as I currently have no idea how to effectively use Jupyter for my research. For context, I have already gone through the tutorials and run some example scripts, but I would appreciate more detailed guidance.

Thank you in advance for your help!

Best wishes.

You still debug and trace execution of different modules within Slicer using a debugger. For Python scripted modules, you can use the DebuggingTools extension.

You can run your code either in Jupyter or by creating a new Slicer module.

I find Jupyter most useful for prototyping algorithms. If I get something that is useful and I want to share it with users then I put the algorithm into a new Python scripted Slicer module.

Thanks for your reply! it’s really a comfort for me. :smiling_face:

1 Like