Slicer Module

This module provides functions and classes for interfacing with 3DSlicer.

When running in 3DSlicer, this module should be explictly imported to access the custom pre/post- processing functions it provides.

class ablinfer.slicer.SlicerDispatchMixin(config)[source]

Mixin for dispatching from Slicer.

A tmp_path key is added to config, which must contain the location to store temporary files for dispatching.

This class does not implement any actual dispatching; this must be combined with the appropriate dispatcher to function properly, e.g.:

class SlicerDispatchActual(SlicerDispatchMixin, DispatchActual):
    pass
class ablinfer.slicer.SlicerDispatchDocker(config)[source]

Convenience class for dispatching to Docker from Slicer.

class ablinfer.slicer.SlicerDispatchRemote(config)[source]

Convenience class for dispatching to an ABLInfer server from Slicer.