Skip to content

Commit 6606e6d

Browse files
fix more typos
1 parent 14b7299 commit 6606e6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/source/examples/transforms_example.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This example will demonstrate how to use the functions in the
4242
For a 1D ``d`` array, you can convert it to ``q`` or ``2theta``. ::
4343

4444
# Example: convert d to q
45-
from diffpy.utils.transforms import tth_to_q
45+
from diffpy.utils.transforms import d_to_q
4646
d = np.array([1.0, 0.8, 0.6, 0.4, 0.2])
4747
q = d_to_q(d)
4848

0 commit comments

Comments
 (0)