Skip to content

Commit

Permalink
fix the scattering plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
arm61 committed Oct 2, 2018
1 parent 4fc497c commit 043e1ca
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
# built documents.
#
# The short X.Y version.
version = '1.1.8'
version = '1.1.9'
# The full version, including alpha/beta/rc tags.
release = '1.1.8'
release = '1.1.9'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
3 changes: 1 addition & 2 deletions pylj/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,7 @@ def update_diffview(ax, system, average_diff, q): # pragma: no cover
# the range of q is chosen to give a representive range for the
# interactions minimum is the reciprocal of the box length and the maximum
# is the reciprocal of the van der Waals diameter of the argon atom
qw = np.logspace(np.log10(2 * np.pi / system.box_length), 10.47, num=1000,
base=10)[200:]
qw = np.linspace(2 * np.pi / system.box_length, 10e10, 1000)[20:]
i = np.zeros_like(qw)
for j in range(0, len(qw)):
i[j] = np.sum(3.644 * (np.sin(qw[j] * system.distances)) / (
Expand Down
2 changes: 1 addition & 1 deletion pylj/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def __version__(): # pragma: no cover
"""This will print the number of the pylj version currently in use."""
major = 1
minor = 1
micro = 8
micro = 9
print('pylj-{:d}.{:d}.{:d}'.format(major, minor, micro))


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# versioning
MAJOR = 1
MINOR = 1
MICRO = 8
MICRO = 9
ISRELEASED = True
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)

Expand Down

0 comments on commit 043e1ca

Please sign in to comment.