Skip to content

Commit

Permalink
reduce iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
tjlane committed Oct 28, 2024
1 parent 317eeb6 commit 4603466
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/functional/test_compute_iterative_tv_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def test_script_produces_consistent_results(
str(kweight_parameter),
"-x",
"0.01",
"--max-iterations",
"5"
]

compute_iterative_tv_map.main(cli_args)
Expand Down
2 changes: 1 addition & 1 deletion test/unit/test_tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_tv_denoise_zero_weight(random_difference_map: Map) -> None:
)
random_difference_map.canonicalize_amplitudes()
output.canonicalize_amplitudes()
pd.testing.assert_frame_equal(random_difference_map, output, atol=1e-3, rtol=1e-2)
pd.testing.assert_frame_equal(random_difference_map, output, atol=1e-2, rtol=1e-2)


@pytest.mark.parametrize("weights_to_scan", [None, DEFAULT_WEIGHTS_TO_SCAN])
Expand Down

0 comments on commit 4603466

Please sign in to comment.