comparison tomo.py @ 36:7ffde31e1e07 draft

"planemo upload for repository https://github.com/rolfverberg/galaxytools commit 0aa4a3d4fc0e1bbe4f1140ea0232cfd42831ac32"
author rv43
date Tue, 19 Apr 2022 18:03:03 +0000
parents 20829cd7aaef
children 51dc93d0806a
comparison
equal deleted inserted replaced
35:20829cd7aaef 36:7ffde31e1e07
1184 sinogram_T = sinogram.T 1184 sinogram_T = sinogram.T
1185 center = sinogram.shape[1]/2 1185 center = sinogram.shape[1]/2
1186 1186
1187 # try automatic center finding routines for initial value 1187 # try automatic center finding routines for initial value
1188 logging.info('tomopy.find_center_vo start') 1188 logging.info('tomopy.find_center_vo start')
1189 tomo_center = tomopy.find_center_vo(sinogram, ncore=num_core) 1189 #tomo_center = tomopy.find_center_vo(sinogram, ncore=num_core)
1190 tomo_center = tomopy.find_center_vo(sinogram, ncore=1)
1190 logging.info('tomopy.find_center_vo end') 1191 logging.info('tomopy.find_center_vo end')
1191 center_offset_vo = tomo_center-center 1192 center_offset_vo = tomo_center-center
1192 if self.test_mode: 1193 if self.test_mode:
1193 logging.info(f'Center at row {row} using Nghia Vo’s method = {center_offset_vo:.2f}') 1194 logging.info(f'Center at row {row} using Nghia Vo’s method = {center_offset_vo:.2f}')
1194 del sinogram_T 1195 del sinogram_T