Skip to content

Commit a5d056a

Browse files
committed
use emdb volume instead of builtins for fuzzy mask unit test
1 parent 00d7e46 commit a5d056a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/test_orient_sync_voting.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
mean_aligned_shift_error,
2929
rots_to_clmatrix,
3030
)
31-
from aspire.volume import AsymmetricVolume
3231

3332
DATA_DIR = os.path.join(os.path.dirname(__file__), "saved_test_data")
3433

@@ -187,9 +186,10 @@ def test_estimate_shifts_with_est_rots(source_orientation_objs):
187186

188187

189188
def test_estimate_rotations_fuzzy_mask():
189+
vol = emdb_2660().downsample(128)
190190
noisy_src = Simulation(
191191
n=35,
192-
vols=AsymmetricVolume(L=128, C=1, K=400, rng=0).generate(),
192+
vols=vol,
193193
offsets=0,
194194
amplitudes=1,
195195
noise_adder=WhiteNoiseAdder.from_snr(snr=2),

0 commit comments

Comments
 (0)