We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14b7299 commit 6606e6dCopy full SHA for 6606e6d
1 file changed
doc/source/examples/transforms_example.rst
@@ -42,7 +42,7 @@ This example will demonstrate how to use the functions in the
42
For a 1D ``d`` array, you can convert it to ``q`` or ``2theta``. ::
43
44
# Example: convert d to q
45
- from diffpy.utils.transforms import tth_to_q
+ from diffpy.utils.transforms import d_to_q
46
d = np.array([1.0, 0.8, 0.6, 0.4, 0.2])
47
q = d_to_q(d)
48
0 commit comments