From 158b248e1fa2c365aaff77e9e81f59c21898adc0 Mon Sep 17 00:00:00 2001 From: VChristiaens Date: Tue, 13 Feb 2024 13:12:51 +0100 Subject: [PATCH] Adapted parameters of the 2D Gaussian created for DFT recentering test --- tests/pre_3_10/test_preproc_recentering.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/pre_3_10/test_preproc_recentering.py b/tests/pre_3_10/test_preproc_recentering.py index 0a8f5cf3..6cc32400 100644 --- a/tests/pre_3_10/test_preproc_recentering.py +++ b/tests/pre_3_10/test_preproc_recentering.py @@ -424,7 +424,7 @@ def test_dft(debug=False): size = 15 mean = size // 2 cube = create_cube_with_gauss2d(shape=(n_frames, size, size), mean=mean, - stddev=4.) + stddev=3.) method_args = dict( center_fr1=(mean, mean), @@ -447,7 +447,7 @@ def test_dft(debug=False): size = 16 mean = size // 2 # - 0.5 # 0-indexed cube = create_cube_with_gauss2d(shape=(n_frames, size, size), mean=mean, - stddev=4.) + stddev=3.) method_args = dict( center_fr1=(mean, mean), subi_size=10, negative=False, @@ -699,7 +699,7 @@ def test_radon(debug=False): ) # subsample and correct for NaNs - cube = cube[:25] # discard last channels with BKG star bias + cube = cube_subsample(cube, 25) # discard last channels with BKG star bias cube = cube_correct_nan(cube) # high-pass filter