From a78dcd6f99786dbfdf94cb53f4084e29e4bd9b10 Mon Sep 17 00:00:00 2001 From: Benjamin Loison <12752145+Benjamin-Loison@users.noreply.github.com> Date: Wed, 24 Apr 2024 14:10:22 +0200 Subject: [PATCH] Clean `extract_noise.py` --- datasets/raise/extract_noise.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/datasets/raise/extract_noise.py b/datasets/raise/extract_noise.py index 0e0ca46..429e03d 100755 --- a/datasets/raise/extract_noise.py +++ b/datasets/raise/extract_noise.py @@ -41,8 +41,8 @@ if raiseNotFlatFields: # Among: # - `None` -# - `"sky"` -# - `"wall"` +# - `'sky'` +# - `'wall'` type_ = None if type_ is not None: ranges = { @@ -141,7 +141,6 @@ if denoiser == 'mean': colorMean = None numberOfImagesInColorMean = 0 for imageFileName in tqdm(imagesFileNames, f'Computing mean of {color} images'): - #print(imageFileName) imageNpArray = getImageNpArray(imageFileName, False, color) if colorMean is None: colorMean = imageNpArray