From 8f87074b347676f5ba6315b481107393b5709d56 Mon Sep 17 00:00:00 2001 From: Gergely Nemeth Date: Mon, 23 Sep 2024 16:28:58 +0200 Subject: [PATCH] type fix --- pySNOM/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySNOM/images.py b/pySNOM/images.py index 8cf0e1a..0fcd4eb 100644 --- a/pySNOM/images.py +++ b/pySNOM/images.py @@ -202,7 +202,7 @@ def transform(self, data): class SimpleNormalize(Transformation): - def __init__(self, method='median', value=1, datatype=DataTypes.Phase): + def __init__(self, method='median', value=1.0, datatype=DataTypes.Phase): self.method = method self.value = value self.datatype = datatype