summaryrefslogtreecommitdiffstats
path: root/python/astra/astra.py
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-11-28 15:34:50 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-12-01 15:04:21 +0100
commit7017618690b66e99773355b82afe26ac869d6aa8 (patch)
tree7accd8332c6df5597f5776007a3f2db6e14d64af /python/astra/astra.py
parentfbe1a7638adb10e45eeff4b04caadab8ab324a2d (diff)
downloadastra-7017618690b66e99773355b82afe26ac869d6aa8.tar.gz
astra-7017618690b66e99773355b82afe26ac869d6aa8.tar.bz2
astra-7017618690b66e99773355b82afe26ac869d6aa8.tar.xz
astra-7017618690b66e99773355b82afe26ac869d6aa8.zip
Add astra.__version__ (PEP396)
Diffstat (limited to 'python/astra/astra.py')
-rw-r--r--python/astra/astra.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/python/astra/astra.py b/python/astra/astra.py
index 625f7b4..3804d51 100644
--- a/python/astra/astra.py
+++ b/python/astra/astra.py
@@ -37,17 +37,6 @@ def use_cuda():
"""
return a.use_cuda()
-
-def version(printToScreen=False):
- """Check version of the ASTRA Toolbox.
-
- :param printToScreen: If ``True``, print version string. If ``False``, return version integer.
- :type printToScreen: :class:`bool`
- :returns: :class:`string` or :class:`int` -- The version string or integer.
-
- """
- return a.version(printToScreen)
-
def set_gpu_index(idx, memory=0):
"""Set default GPU index to use.