Plugins: the plugin module

class astra.plugin.ReconstructionAlgorithm2D[source]

Bases: astra.plugin.base

astra_init(cfg)[source]
class astra.plugin.ReconstructionAlgorithm3D[source]

Bases: astra.plugin.base

astra_init(cfg)[source]
class astra.plugin.base[source]

Bases: object

astra_init(cfg)[source]
astra.plugin.get_help(name)[source]

Get help for registered plugin.

Parameters

name (str) – Plugin name to get help for

Returns

str – Help string (docstring).

astra.plugin.get_registered()[source]

Get dictionary of registered plugins.

Returns

dict – Registered plugins.

astra.plugin.register(className)[source]

Register plugin with ASTRA.

Parameters

className (str or class) – Class name or class object to register