We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1777aaa commit 173ca19Copy full SHA for 173ca19
gallery/tutorials/tutorials/micrograph_source.py
@@ -289,7 +289,7 @@
289
# Let's choose four random numbers as our global (``Simulation``)
290
# particle indices from ``test_micrograph=1``.
291
test_micrograph = 1
292
-n_particles = 4
+n_particles = 3
293
local_particle_indices = np.random.choice(n_particles_per_micrograph, n_particles)
294
print(f"Local particle indices: {local_particle_indices}")
295
@@ -388,7 +388,7 @@
388
389
img_src = CentersCoordinateSource(results, src.particle_box_size)
390
# Show the first five images from the image source.
391
-img_src.images[:5].show()
+img_src.images[:3].show()
392
393
# Cleanup the tmp_dir
394
tmp_dir.cleanup()
0 commit comments