Skip to content

Commit

Permalink
Corrected minor bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcraven committed Apr 30, 2024
1 parent d3143a2 commit 516af6f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/source/examples/example_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,5 @@
polycrystal.diffract(beam, detector, motion)
##example:

import os
path = os.path.join( os.path.dirname(__file__), "..", 'images', "diffraction_pattern.png")
fig.savefig(os.path.abspath(path), bbox_inches='tight', transparent=True)
1 change: 0 additions & 1 deletion xrd_simulator/beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class Beam():
The beam is described in the laboratory coordinate system.
>>>>>>> vectorization
Args:
beam_vertices (:obj:`numpy array`): Vertices of the xray beam in units of microns, ``shape=(N,3)``.
xray_propagation_direction (:obj:`numpy array`): Propagation direction of xrays, ``shape=(3,)``.
Expand Down

0 comments on commit 516af6f

Please sign in to comment.