Skip to content

Commit

Permalink
Fix a few docstrings in math.fit.functions
Browse files Browse the repository at this point in the history
  • Loading branch information
loichuder committed Mar 9, 2023
1 parent 896c219 commit 951bb7d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/silx/math/fit/functions.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def sum_splitpvoigt(x, *params):
profile using a linear combination of a Gaussian curve ``G(x)`` and a
Lorentzian curve ``L(x)`` instead of their convolution.
- *height* is the peak amplitudefor G(x) and L(x)
- *height* is the peak amplitude for G(x) and L(x)
- *centroid* is the peak x-coordinate for both functions
- *fwhm1* is the full-width at half maximum of both functions
when ``x < centroid``
Expand Down Expand Up @@ -797,9 +797,9 @@ def sum_ahypermet(x, *params,
*(area1, position1, fwhm1, st_area_r1, st_slope_r1, lt_area_r1,
lt_slope_r1, step_height_r1...)*
:param gaussian_term: If ``True``, enable gaussian term. Default ``True``
:param st_term: If ``True``, enable gaussian term. Default ``True``
:param lt_term: If ``True``, enable gaussian term. Default ``True``
:param step_term: If ``True``, enable gaussian term. Default ``True``
:param st_term: If ``True``, enable short tail term. Default ``True``
:param lt_term: If ``True``, enable long tail term. Default ``True``
:param step_term: If ``True``, enable step term. Default ``True``
:return: Array of sum of hypermet functions at each ``x`` coordinate
"""
cdef:
Expand Down Expand Up @@ -883,9 +883,9 @@ def sum_fastahypermet(x, *params,
*(area1, position1, fwhm1, st_area_r1, st_slope_r1, lt_area_r1,
lt_slope_r1, step_height_r1...)*
:param gaussian_term: If ``True``, enable gaussian term. Default ``True``
:param st_term: If ``True``, enable gaussian term. Default ``True``
:param lt_term: If ``True``, enable gaussian term. Default ``True``
:param step_term: If ``True``, enable gaussian term. Default ``True``
:param st_term: If ``True``, enable short tail term. Default ``True``
:param lt_term: If ``True``, enable long tail term. Default ``True``
:param step_term: If ``True``, enable step term. Default ``True``
:return: Array of sum of hypermet functions at each ``x`` coordinate
"""
cdef:
Expand Down

0 comments on commit 951bb7d

Please sign in to comment.