Skip to content

Commit e8c2d8d

Browse files
committed
missing src assignments in 10081 gallery experiment
1 parent d975ab9 commit e8c2d8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gallery/experiments/experimental_abinitio_pipeline_10081.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@
6464

6565
# Downsample the images
6666
logger.info(f"Set the resolution to {img_size} X {img_size}")
67-
src.downsample(img_size)
67+
src = src.downsample(img_size)
6868

6969
# Use phase_flip to attempt correcting for CTF.
7070
logger.info("Perform phase flip to input images.")
71-
src.phase_flip()
71+
src = src.phase_flip()
7272

7373
# Estimate the noise and `Whiten` based on the estimated noise
7474
aiso_noise_estimator = AnisotropicNoiseEstimator(src)
75-
src.whiten(aiso_noise_estimator.filter)
75+
src = src.whiten(aiso_noise_estimator.filter)
7676

7777
# Caching is used for speeding up large datasets on high memory machines.
7878
src = src.cache()

0 commit comments

Comments
 (0)