From 7529c36037a4854ece718b8edf34abcf161a9f16 Mon Sep 17 00:00:00 2001 From: Hanno Spreeuw Date: Thu, 24 Oct 2024 10:25:32 +0200 Subject: [PATCH] Fixes the last item of #82. --- sourcefinder/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcefinder/image.py b/sourcefinder/image.py index 53b201e..e3653bf 100644 --- a/sourcefinder/image.py +++ b/sourcefinder/image.py @@ -1178,7 +1178,7 @@ def _pyse( chunk = slices[label - 1] param = extract.ParamSet() - param.sig = maxis[count] / self.rmsmap.data[tuple(maxposs[count])] + param["sig"] = maxis[count] / self.rmsmap.data[tuple(maxposs[count])] param["peak"] = Uncertain(moments_of_sources[count, 0, 0], moments_of_sources[count, 1, 0]) param["flux"] = Uncertain(moments_of_sources[count, 0, 1], moments_of_sources[count, 1, 1])