From 54e62cc2c6a568e6b82fe2b763c2be1300b664e6 Mon Sep 17 00:00:00 2001 From: VChristiaens Date: Sun, 24 Mar 2024 17:59:36 +0100 Subject: [PATCH] Removed printing of a cryptic value when using the Radon-transform based recentering routine --- vip_hci/preproc/recentering.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vip_hci/preproc/recentering.py b/vip_hci/preproc/recentering.py index bdc4d333..13c44d43 100644 --- a/vip_hci/preproc/recentering.py +++ b/vip_hci/preproc/recentering.py @@ -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