Difference between revisions of "2009 Winter Project Week Python"

From NAMIC Wiki
Jump to: navigation, search
(New page: {| |thumb|320px|Return to [[2009_Winter_Project_Week|Project Week Main Page ]] |} __NOTOC__ ===Key Investigators=== * Luca Antiga (Medical Imaging Unit, Biomedi...)
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{|
 
{|
|[[Image:NAMIC-SLC.jpg|thumb|320px|Return to [[2009_Winter_Project_Week|Project Week Main Page]] ]]
+
|[[Image:Python-logo.png |thumb|320px|[http://www.python.org]]
 
|}
 
|}
  
Line 8: Line 8:
  
 
===Key Investigators===
 
===Key Investigators===
* Luca Antiga (Medical Imaging Unit, Biomedical Engineering Department, Mario Negri Institute)
+
* Luca Antiga (Mario Negri Institute)
 
* Steve Piper (Isomics)
 
* Steve Piper (Isomics)
 +
* Demian Wasserman (INRIA)
  
 
<div style="margin: 20px;">
 
<div style="margin: 20px;">
Line 16: Line 17:
  
 
<h1>Objective</h1>
 
<h1>Objective</h1>
TODO
+
To finalize the implementation of the Slicer Python interface and solve packaging problems linked to Scipy.
  
 
</div>
 
</div>
Line 24: Line 25:
 
<h1>Approach, Plan</h1>
 
<h1>Approach, Plan</h1>
  
TODO.
+
The Slicer Python interface now works well for both non-interactive and interactive modules.
+
 
 +
Interface has to be stabilized, and it is still lacking setting custom observers to vtkObject.
 +
 
 +
Documentation has to be improved.
 +
 
 +
Packaging Scipy is currently a problem.
 +
 
 
</div>
 
</div>
  
Line 31: Line 38:
  
 
<h1>Progress</h1>
 
<h1>Progress</h1>
TO:<br>
+
 
- DO<br>
+
The Python interface is being adopted by several groups, both for command-line and interactive modules. The Numpy interface works well.
- ...
+
 
 +
A AddObserver method has been added to the wrapped vtkObject that accepts callbacks written in Python.
 +
 
 +
The Python breakout session has illustrated the ways Python can be used in Slicer and the ways users can implement their own modules. Slides will be on the wiki in a few days.
 +
 
 +
A --evalpython option has been added to the Slicer3 executable in order to run Python code in Slicer without starting the GUI (for batch processing)
 +
 
 +
Packaging problems have been
  
 
</div>
 
</div>

Latest revision as of 15:59, 9 January 2009

Home < 2009 Winter Project Week Python



Key Investigators

  • Luca Antiga (Mario Negri Institute)
  • Steve Piper (Isomics)
  • Demian Wasserman (INRIA)

Objective

To finalize the implementation of the Slicer Python interface and solve packaging problems linked to Scipy.

Approach, Plan

The Slicer Python interface now works well for both non-interactive and interactive modules.

Interface has to be stabilized, and it is still lacking setting custom observers to vtkObject.

Documentation has to be improved.

Packaging Scipy is currently a problem.

Progress

The Python interface is being adopted by several groups, both for command-line and interactive modules. The Numpy interface works well.

A AddObserver method has been added to the wrapped vtkObject that accepts callbacks written in Python.

The Python breakout session has illustrated the ways Python can be used in Slicer and the ways users can implement their own modules. Slides will be on the wiki in a few days.

A --evalpython option has been added to the Slicer3 executable in order to run Python code in Slicer without starting the GUI (for batch processing)

Packaging problems have been