Skip to content

Commit 07274d4

Browse files
change an array to the array
1 parent 5c46816 commit 07274d4

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/diffpy/utils/scattering_objects/diffraction_objects.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def q_to_tth(self):
305305
Parameters
306306
----------
307307
q : array
308-
An array of :math:`q` values
308+
The array of :math:`q` values
309309
310310
wavelength : float
311311
Wavelength of the incoming x-rays
@@ -315,7 +315,7 @@ def q_to_tth(self):
315315
Returns
316316
-------
317317
two_theta : array
318-
An array of :math:`2\theta` values in radians
318+
The array of :math:`2\theta` values in radians
319319
"""
320320
q = self.on_q[0]
321321
q = np.asarray(q)
@@ -344,7 +344,7 @@ def tth_to_q(self):
344344
Parameters
345345
----------
346346
two_theta : array
347-
An array of :math:`2\theta` values in units of degrees
347+
The array of :math:`2\theta` values in units of degrees
348348
349349
wavelength : float
350350
Wavelength of the incoming x-rays
@@ -354,7 +354,7 @@ def tth_to_q(self):
354354
Returns
355355
-------
356356
q : array
357-
An array of :math:`q` values in the inverse of the units
357+
The array of :math:`q` values in the inverse of the units
358358
of ``wavelength``
359359
"""
360360
two_theta = np.asarray(np.deg2rad(self.on_tth[0]))
@@ -371,12 +371,12 @@ def q_to_d(self):
371371
Parameters
372372
----------
373373
q : array
374-
An array of :math:`q` values
374+
The array of :math:`q` values
375375
376376
Returns
377377
-------
378378
d : array
379-
An array of :math:`d` values in the inverse of the units of ``wavelength``
379+
The array of :math:`d` values in the inverse of the units of ``wavelength``
380380
"""
381381
epsilon = 1e-10
382382
q = np.asarray(self.on_q[0])
@@ -392,12 +392,12 @@ def d_to_q(self):
392392
Parameters
393393
----------
394394
d : array
395-
An array of :math:`d` values
395+
The array of :math:`d` values
396396
397397
Returns
398398
-------
399399
q : array
400-
An array of :math:`q` values in the inverse of the units of ``wavelength``
400+
The array of :math:`q` values in the inverse of the units of ``wavelength``
401401
"""
402402
epsilon = 1e-10
403403
d = np.asarray(self.on_d[0])
@@ -414,15 +414,15 @@ def tth_to_d(self):
414414
Parameters
415415
----------
416416
two_theta : array
417-
An array of :math:`2\theta` values in units of degrees
417+
The array of :math:`2\theta` values in units of degrees
418418
419419
wavelength : float
420420
Wavelength of the incoming x-rays
421421
422422
Returns
423423
-------
424424
d : array
425-
An array of :math:`d` values in the inverse of the units
425+
The array of :math:`d` values in the inverse of the units
426426
of ``wavelength``
427427
"""
428428
epsilon = 1e-10
@@ -442,15 +442,15 @@ def d_to_tth(self):
442442
Parameters
443443
----------
444444
d : array
445-
An array of :math:`d` values
445+
The array of :math:`d` values
446446
447447
wavelength : float
448448
Wavelength of the incoming x-rays
449449
450450
Returns
451451
-------
452452
two_theta : array
453-
An array of :math:`2\theta` values in radians
453+
The array of :math:`2\theta` values in radians
454454
"""
455455
epsilon = 1e-10
456456
d = np.asarray(self.on_d[0])

0 commit comments

Comments
 (0)