We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3110bf commit 206d39dCopy full SHA for 206d39d
src/diffpy/utils/transforms.py
@@ -135,7 +135,7 @@ def q_to_d(q):
135
The array of :math:`d` values np.array([ds]).
136
"""
137
if 0 in q:
138
- print(inf_output_wmsg)
+ print(inf_output_imsg)
139
return 2.0 * np.pi / copy(q)
140
141
@@ -169,7 +169,7 @@ def tth_to_d(tth, wavelength):
169
d[i] = i
170
return d
171
172
- warnings.warn(inf_output_wmsg)
173
174
175
@@ -189,7 +189,7 @@ def d_to_q(d):
189
The units of q must be reciprocal of the units of wavelength.
190
191
if 0 in d:
192
193
return 2.0 * np.pi / copy(d)
194
195
0 commit comments