diff options
author | Willem Jan Palenstijn <wjp@usecode.org> | 2018-12-07 15:14:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-07 15:14:12 +0100 |
commit | 6f4b855f45248cb072abca453af523760f68bd62 (patch) | |
tree | 682d56a92ddacf4a31c2f3f2fa1179a7ef245540 /samples/python/s014_FBP.py | |
parent | e8be82070824fa370285142550c1e708561bd63d (diff) | |
parent | 662dfcfc37bd7658e61a3b2f6bbc815472a16786 (diff) | |
download | astra-6f4b855f45248cb072abca453af523760f68bd62.tar.gz astra-6f4b855f45248cb072abca453af523760f68bd62.tar.bz2 astra-6f4b855f45248cb072abca453af523760f68bd62.tar.xz astra-6f4b855f45248cb072abca453af523760f68bd62.zip |
Merge pull request #180 from wjp/filter_config
Read filter config for FBP from cfg.options
Diffstat (limited to 'samples/python/s014_FBP.py')
-rw-r--r-- | samples/python/s014_FBP.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/python/s014_FBP.py b/samples/python/s014_FBP.py index f7cefd4..1c3a341 100644 --- a/samples/python/s014_FBP.py +++ b/samples/python/s014_FBP.py @@ -49,7 +49,7 @@ rec_id = astra.data2d.create('-vol', vol_geom) cfg = astra.astra_dict('FBP_CUDA') cfg['ReconstructionDataId'] = rec_id cfg['ProjectionDataId'] = sinogram_id -cfg['FilterType'] = 'Ram-Lak' +cfg['option'] = { 'FilterType': 'Ram-Lak' } # possible values for FilterType: # none, ram-lak, shepp-logan, cosine, hamming, hann, tukey, lanczos, |