Commit 08307ab1 authored by Holger Niemann's avatar Holger Niemann
Browse files

some changes back to old get program

parent 782d0a01
......@@ -217,7 +217,7 @@ def correct_images(images,badpixels):
if type(badpixels)!=int:
if type(images) == list:
# return corrected images also as list of 2D arrays
images = restore_bad_pixels(images, np.invert(badpixels==1)).astype(np.float32)
images = restore_bad_pixels(images, np.invert(badpixels==1))#.astype(np.float32)
images = list(images)
else:
# keep shape
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment