Skip to content

Commit

Permalink
DOC: thigns
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Nov 13, 2018
1 parent ece94ec commit 4e479bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,10 @@ or :class:`Lattice`) can be accessed using the :meth:`Atom.coords_cartesian` met
>>> graphite = Crystal.from_database('C')
>>>
>>> carbon = list(graphite)[-1]
>>> fractional = carbon.coords_fractional
>>> real = carbon.coords_cartesian
>>> carbon.coords_fractional
array([0. , 0. , 0.75])
>>> carbon.coords_cartesian
array([0. , 0. , 5.033])

Atomic distances
----------------
Expand Down

0 comments on commit 4e479bc

Please sign in to comment.