Skip to content

Commit e3c5208

Browse files
committed
Final cleanup on input_data docstrings
1 parent b8a9adc commit e3c5208

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/diffpy/utils/diffraction_objects.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ def input_data(self, xarray, yarray, xtype, wavelength, scat_quantity="", name="
5858
xarray : array-like
5959
The independent variable array (e.g., "q", "tth", or "d").
6060
yarray : array-like
61-
The dependent variable array corresponding to intensity values
61+
The dependent variable array corresponding to intensity values.
6262
xtype : str
6363
The type of the independent variable in `xarray`. Must be one of {*XQUANTITIES},
6464
such as "q", "tth", or "d".
6565
wavelength : float
6666
The wavelength of the incoming beam, specified in angstroms (Å).
6767
scat_quantity : str, optional
68-
The type of scattering experiment (e.g., "x-ray", "neutron"). Default is "".
68+
The type of scattering experiment (e.g., "x-ray", "neutron"). Default is an empty string "".
6969
name : str, optional
7070
The name or label for the scattering data. Default is an empty string "".
7171
metadata : dict, optional
@@ -95,7 +95,6 @@ def input_data(self, xarray, yarray, xtype, wavelength, scat_quantity="", name="
9595
self.name = name
9696

9797
self._input_xtype = xtype
98-
9998
self._set_xarrays(xarray, xtype)
10099
self._all_arrays[:, 0] = yarray
101100

0 commit comments

Comments
 (0)