summaryrefslogtreecommitdiffstats
path: root/python/astra/functions.py
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <wjp@usecode.org>2016-03-02 16:00:01 +0100
committerWillem Jan Palenstijn <wjp@usecode.org>2016-03-02 16:00:01 +0100
commitf24d9457f56f60aa927600261500e4ca681d0033 (patch)
tree6a0265038fbc6520703b41f1b684aa401a47bbdc /python/astra/functions.py
parent14bef5ea534e4aa4e6d0819e728d0a8d2b0b7925 (diff)
parent0fb04ca6fb4fca23b9d1b885b9f075a90542997b (diff)
downloadastra-f24d9457f56f60aa927600261500e4ca681d0033.tar.gz
astra-f24d9457f56f60aa927600261500e4ca681d0033.tar.bz2
astra-f24d9457f56f60aa927600261500e4ca681d0033.tar.xz
astra-f24d9457f56f60aa927600261500e4ca681d0033.zip
Merge pull request #31 from dmpelt/small-fixes
Fix small Python errors
Diffstat (limited to 'python/astra/functions.py')
-rw-r--r--python/astra/functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/astra/functions.py b/python/astra/functions.py
index e38b5bc..3f4aa82 100644
--- a/python/astra/functions.py
+++ b/python/astra/functions.py
@@ -115,7 +115,7 @@ def add_noise_to_sino(sinogram_in, I0, seed=None):
sinogram_out = -max_sinogramRaw * np.log(sinogramCT_D)
if not isinstance(sinogram_in, np.ndarray):
- at.data2d.store(sinogram_in, sinogram_out)
+ data2d.store(sinogram_in, sinogram_out)
if not seed==None:
np.random.set_state(curstate)