Skip to content

Commit

Permalink
Mon Feb 23 21:46:00 MST 2015
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Buscombe committed Feb 24, 2015
1 parent da836f5 commit dde3a49
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion DGS/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
United States Geological Survey
Flagstaff, AZ 86001
[email protected]
Revision Feb 23, 2015
First Revision January 18 2013
For more information visit https://github.com/dbuscombe-usgs/pyDGS
Expand Down Expand Up @@ -63,7 +64,7 @@
"""

__version__ = '2.5.6'
__version__ = '2.7.0'

#-----------------------------------------------------------------------------
# Imports
Expand Down
Binary file modified DGS/__init__.pyc
Binary file not shown.
7 changes: 4 additions & 3 deletions DGS/_dgs_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
United States Geological Survey
Flagstaff, AZ 86001
[email protected]
Revision Feb 23, 2015
First Revision January 18 2013
For more information visit https://github.com/dbuscombe-usgs/pyDGS
Expand Down Expand Up @@ -63,7 +64,7 @@
"""

from __future__ import division
#from __future__ import division
import numpy as np
import matplotlib.pyplot as mpl
import sys, getopt, os, glob
Expand Down Expand Up @@ -327,9 +328,9 @@ def dgs(folder, density, doplot, resolution):
mn = min(nx,ny)

if isodd(mn/4):
window_size = (mn/4)
window_size = (int(mn/4))
else:
window_size = (mn/4)-1
window_size = (int(mn/4))-1

if iseven(window_size):
window_size = window_size+1
Expand Down
Binary file modified DGS/_dgs_class.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Buscombe, D. (2013) Transferable Wavelet Method for Grain-Size Distribution from
United States Geological Survey
Flagstaff, AZ 86001
[email protected]
Revision Feb 23, 2015
First Revision January 18 2013

For more information visit https://github.com/dbuscombe-usgs/pyDGS
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
United States Geological Survey
Flagstaff, AZ 86001
[email protected]
Revision Feb 23, 2015
First Revision January 18 2013
For more information visit https://github.com/dbuscombe-usgs/pyDGS
Expand Down Expand Up @@ -147,7 +148,7 @@ def setupPackage():
ext_modules=ext_modules,
platforms='OS Independent',
include_dirs = [np.get_include()],
package_data={'DGS': ['*.JPG',]}
package_data={'DGS': ['*.JPG','*.jpg',]}
)

if __name__ == '__main__':
Expand Down

0 comments on commit dde3a49

Please sign in to comment.