diff options
Diffstat (limited to 'python/astra/algorithm.py')
-rw-r--r-- | python/astra/algorithm.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/python/astra/algorithm.py b/python/astra/algorithm.py index 33cca85..8862af3 100644 --- a/python/astra/algorithm.py +++ b/python/astra/algorithm.py @@ -66,6 +66,17 @@ def delete(ids): """ return a.delete(ids) +def get_plugin_object(i): + """Return the Python object instance of a plugin algorithm. + + :param i: ID of object corresponding to a plugin algorithm. + :type i: :class:`int` + :returns: The Python object instance of the plugin algorithm. + + """ + return a.get_plugin_object(i) + + def clear(): """Clear all matrix objects.""" return a.clear() |