From f5484449e3e0e3702389ea19d0bcfc1647bfd0ee Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Wed, 25 Oct 2023 11:52:23 -0400 Subject: [PATCH] fix function call --- romancal/scripts/preview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/romancal/scripts/preview.py b/romancal/scripts/preview.py index 9f0f6dfaf..b0db1af7b 100644 --- a/romancal/scripts/preview.py +++ b/romancal/scripts/preview.py @@ -14,7 +14,7 @@ def preview(input: Path, output: Path): data, output, shape=(1080, 1080), - normalization=percentile_normalization(), + normalization=percentile_normalization(data, percentile=90), colormap="afmhot", ) @@ -26,7 +26,7 @@ def thumbnail(input: Path, output: Path): data, output, shape=(300, 300), - normalization=percentile_normalization(), + normalization=percentile_normalization(data, percentile=90), colormap="afmhot", )