Skip to content

Commit

Permalink
[skip ci] DOC: updated plots
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Dec 2, 2020
1 parent 7c435d0 commit e5e1682
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/simulation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ scattering angles `s` as :math:`s = \sin{\theta}/\lambda`::
import matplotlib.pyplot as plt
import numpy as np
from skued import powdersim
from skued import Crystal
from crystals import Crystal
graphite = Crystal.from_database('C')

q = np.linspace(1, 10, 1024)
Expand Down
6 changes: 4 additions & 2 deletions docs/tutorials/visualization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ As an example, let's use a simulated diffraction pattern of monoclinic $VO_2$::

import numpy as np
import matplotlib.pyplot as plt
from skued import Crystal, patterson
from crystals import Crystal
from skued import patterson
# Simulation of polycrystalline diffraction pattern
# for monoclinic VO2
Expand All @@ -45,7 +46,8 @@ As an example, let's use a simulated diffraction pattern of monoclinic $VO_2$::

import numpy as np
import matplotlib.pyplot as plt
from skued import Crystal, patterson
from crystals import Crystal,
from skued import patterson
from skued import powdersim # To simulate experimental data

# Simulation of polycrystalline diffraction pattern
Expand Down

0 comments on commit e5e1682

Please sign in to comment.