Skip to content

Commit

Permalink
Adapted parameters of the 2D Gaussian created for DFT recentering test
Browse files Browse the repository at this point in the history
  • Loading branch information
VChristiaens committed Feb 13, 2024
1 parent d9c9664 commit 158b248
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/pre_3_10/test_preproc_recentering.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 158b248

Please sign in to comment.