Skip to content

Commit a2f244d

Browse files
committed
Reword from generating to generate in comment
1 parent 83a0c30 commit a2f244d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: src/diffpy/utils/resampler.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def wsinterp(x, xp, fp, left=None, right=None):
2424
Reconstruct a continuous signal from discrete data points by utilizing sinc functions
2525
as interpolation kernels. This function interpolates the values of fp (array),
2626
which are defined over xp (array), at new points x (array or float).
27-
The implementation is based on E. T. Whittaker's 1915 paper (https://doi.org/10.1017/S0370164600017806).
27+
The implementation is based on E. T. Whittaker's 1915 paper
28+
(https://doi.org/10.1017/S0370164600017806).
2829
2930
Parameters
3031
----------

Diff for: tests/test_resample.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_wsinterp():
1818
x = np.array([i * ssr for i in range(-n - 1, n + 2, 1)])
1919
assert len(xp) == 11 and len(x) == 13
2020

21-
# Generating a new set of fp values across 10 trial runs
21+
# Generate a new set of fp values across 10 trial runs
2222
trials = 10
2323

2424
for _ in range(trials):

0 commit comments

Comments
 (0)