Skip to content

Commit

Permalink
Merge pull request #830 from ComputationalCryoEM/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
garrettwrong authored Jan 6, 2023
2 parents d359217 + 5b4ea08 commit 97f579e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_noise.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from aspire.noise import CustomNoiseAdder, WhiteNoiseAdder, WhiteNoiseEstimator
from aspire.operators import FunctionFilter, ScalarFilter
from aspire.source.simulation import Simulation
from aspire.utils import utest_tolerance
from aspire.volume import AsymmetricVolume

DATA_DIR = os.path.join(os.path.dirname(__file__), "saved_test_data")
Expand Down Expand Up @@ -61,7 +62,7 @@ def test_white_noise_estimator_clean_corners(sim_fixture):
noise_variance = noise_estimator.estimate()
# Using a compactly supported volume should yield
# virtually no noise in the image corners.
assert np.isclose(noise_variance, 0)
assert np.isclose(noise_variance, 0, atol=utest_tolerance(sim_fixture.dtype))


def test_adder_reprs(adder):
Expand Down

0 comments on commit 97f579e

Please sign in to comment.