Mercurial > repos > rv43 > tomo
changeset 30:c4a90d5b1ed2 draft
"planemo upload for repository https://github.com/rolfverberg/galaxytools commit c853b415951c80548544c495f99a1ebc5bac7287"
author | rv43 |
---|---|
date | Mon, 18 Apr 2022 21:40:06 +0000 |
parents | 59c5c0b53579 |
children | 063e1e847d95 |
files | tomo.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tomo.py Mon Apr 18 21:38:30 2022 +0000 +++ b/tomo.py Mon Apr 18 21:40:06 2022 +0000 @@ -1323,8 +1323,10 @@ tomo_stack[row_bounds[0]:row_bounds[1]], sigma=sigma, ncore=num_core) else: tomo_stack = tomo_stack[row_bounds[0]:row_bounds[1]] + print('OK AA') tomo_recon_stack = tomopy.recon(tomo_stack, thetas, centers, sinogram_order=True, algorithm=algorithm, ncore=num_core) + print('OK BB') if run_secondary_sirt and secondary_iter > 0: #options = {'method':'SIRT_CUDA', 'proj_type':'cuda', 'num_iter':secondary_iter} #RV: doesn't work for me: "Error: CUDA error 803: system has unsupported display driver / @@ -1337,6 +1339,7 @@ tomo_recon_stack = tomopy.recon(tomo_stack, thetas, centers, init_recon=tomo_recon_stack, options=options, sinogram_order=True, algorithm=tomopy.astra, ncore=num_core) + print('OK CC') if True: tomopy.misc.corr.remove_ring(tomo_recon_stack, rwidth=rwidth, out=tomo_recon_stack, ncore=num_core)