Edit this page

NA-MIC Project Weeks

Back to Projects List

Improve usability of Slicer from Python

Key Investigators

Project Description

Python is getting the most widely used platform for medical image computing. It is important to make it easy to use and extend Slicer using Python.

Jupyter notebook is an interactive shell for executing scripts and viewing execution results. During last project week in Gran Canaria, we have implemented SlicerJupyter extension, which allows creating Jupyter notebooks that use Slicer.

Objective

Improve Python IDE, debugging, and Jupyter support.

Approach and Plan

  1. Improve PyCharm auto-complete and debugging
  2. Improve SlicerJupyter: fix build/packaging errors on Linux and macOS, implement auto-completion, set up a docker image to run Slicer kernels online using binder.

Progress and Next Steps

Illustrations

PyCharm auto-complete and documentation works great during debugging

PyCharmAutoComplete

Background and References