Skip to content

Commit

Permalink
Removed printing of a cryptic value when using the Radon-transform ba…
Browse files Browse the repository at this point in the history
…sed recentering routine
  • Loading branch information
VChristiaens committed Mar 24, 2024
1 parent 472c205 commit 54e62cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vip_hci/preproc/recentering.py
Original file line number Diff line number Diff line change
Expand Up @@ -844,13 +844,13 @@ def _center_radon(array, cropsize=None, hsize=1., step=0.1,
raise ValueError(msg)
sinogram = radon(frame, theta=theta, circle=True)
plot_frames((frame, sinogram))
print(np.sum(np.abs(sinogram[int(cent), :])))
# print(np.sum(np.abs(sinogram[int(cent), :])))
else:
theta = np.linspace(start=0, stop=360, num=int(cent*2),
endpoint=False)
sinogram = radon(frame, theta=theta, circle=True)
plot_frames((frame, sinogram))
print(np.sum(np.abs(sinogram[int(cent), :])))
# print(np.sum(np.abs(sinogram[int(cent), :])))

if nproc is None:
nproc = cpu_count() // 2 # Hyper-threading doubles the # of cores
Expand Down

0 comments on commit 54e62cc

Please sign in to comment.