Skip to content

Commit 84d0e33

Browse files
fix: define TTH_GRID more elegantly
1 parent e79a2fd commit 84d0e33

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/diffpy/labpdfproc/functions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
RADIUS_MM = 1
1111
N_POINTS_ON_DIAMETER = 300
12-
TTH_GRID = np.arange(1, 180.1, 0.1)
13-
TTH_GRID = np.round(TTH_GRID, 1)
12+
TTH_GRID = np.round(np.arange(1, 180.1, 0.1), decimals=1)
1413
CVE_METHODS = ["brute_force", "polynomial_interpolation"]
1514

1615
# pre-computed datasets for polynomial interpolation (fast calculation)

0 commit comments

Comments
 (0)