From ef7551ab98f73be690e411908993a60ba20af121 Mon Sep 17 00:00:00 2001 From: Clatlan Date: Mon, 22 Jul 2024 13:09:46 +0200 Subject: [PATCH] change padding default value when preparing volume in postprocessing --- cdiutils/process/postprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdiutils/process/postprocessor.py b/cdiutils/process/postprocessor.py index 3e610de..34406f3 100644 --- a/cdiutils/process/postprocessor.py +++ b/cdiutils/process/postprocessor.py @@ -62,7 +62,7 @@ def prepare_volume( if final_shape is None: final_shape = find_suitable_array_shape( support, - padding=np.repeat(6, support.ndim) + padding=np.repeat(10, support.ndim) ) # center the arrays at the center of mass of the support com = CroppingHandler.get_position(support, "com")