Skip to content

Commit

Permalink
Move notebook to example
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCentauri committed Dec 12, 2024
1 parent 710c43f commit fc6d681
Show file tree
Hide file tree
Showing 3 changed files with 213 additions and 348 deletions.
4 changes: 1 addition & 3 deletions examples/2-neighbor-lists-usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@
# We now slightly displace the atoms from their initial positions randomly based on a
# Gaussian distribution with a width of 0.1 Å to create non-zero forces.

rng = np.random.default_rng(42)
displacement = rng.normal(loc=0.0, scale=0.1, size=(len(atoms), 3))
atoms.positions += displacement
atoms.rattle(stdev=0.1)

chemiscope.show(
frames=[atoms],
Expand Down
332 changes: 0 additions & 332 deletions examples/basic-usage-kevin.ipynb

This file was deleted.

Loading

0 comments on commit fc6d681

Please sign in to comment.