@@ -54,7 +54,7 @@ def describing_function(self, A):
5454 "describing function not implemented for this function" )
5555
5656 def _isstatic (self ):
57- """Return True if the function has no internal state (memoryless).
57+ """Return ` True` if the function has no internal state (memoryless).
5858
5959 This internal function is used to optimize numerical computation of
6060 the describing function. It can be set to `True` if the instance
@@ -289,9 +289,9 @@ def describing_function_response(
289289 omega : list, optional
290290 List of frequencies to be used for the linear system Nyquist curve.
291291 warn_nyquist : bool, optional
292- Set to True to turn on warnings generated by `nyquist_plot` or False
293- to turn off warnings. If not set (or set to None), warnings are
294- turned off if omega is specified, otherwise they are turned on.
292+ Set to ` True` to turn on warnings generated by `nyquist_plot` or
293+ `False` to turn off warnings. If not set (or set to ` None` ), warnings
294+ are turned off if omega is specified, otherwise they are turned on.
295295 refine : bool, optional
296296 If `True`, `scipy.optimize.minimize` to refine the estimate
297297 of the intersection of the frequency response and the describing
@@ -419,7 +419,7 @@ def describing_function_plot(
419419 curve. If not specified (or None), frequencies are computed
420420 automatically based on the properties of the linear system.
421421 refine : bool, optional
422- If True (default), refine the location of the intersection of the
422+ If ` True` (default), refine the location of the intersection of the
423423 Nyquist curve for the linear system and the describing function to
424424 determine the intersection point.
425425 label : str or array_like of str, optional
@@ -434,9 +434,9 @@ def describing_function_plot(
434434 title : str, optional
435435 Set the title of the plot. Defaults to plot type and system name(s).
436436 warn_nyquist : bool, optional
437- Set to True to turn on warnings generated by `nyquist_plot` or False
438- to turn off warnings. If not set (or set to None), warnings are
439- turned off if omega is specified, otherwise they are turned on.
437+ Set to ` True` to turn on warnings generated by `nyquist_plot` or
438+ `False` to turn off warnings. If not set (or set to ` None` ), warnings
439+ are turned off if omega is specified, otherwise they are turned on.
440440 **kwargs : `matplotlib.pyplot.plot` keyword properties, optional
441441 Additional keywords passed to `matplotlib` to specify line properties
442442 for Nyquist curve.
@@ -560,6 +560,11 @@ class saturation_nonlinearity(DescribingFunctionNonlinearity):
560560 functions will not have zero bias and hence care must be taken in using
561561 the nonlinearity for analysis.
562562
563+ Parameters
564+ ----------
565+ lb, ub : float
566+ Upper and lower saturation bounds.
567+
563568 Examples
564569 --------
565570 >>> nl = ct.saturation_nonlinearity(5)
@@ -615,14 +620,21 @@ class relay_hysteresis_nonlinearity(DescribingFunctionNonlinearity):
615620 of width `c` (using the notation from [FBS2e](https://fbsbook.org),
616621 Example 10.12, including the describing function for the nonlinearity.
617622 The following call creates a nonlinear function suitable for describing
618- function analysis:
623+ function analysis::
619624
620625 F = relay_hysteresis_nonlinearity(b, c)
621626
622627 The output of this function is `b` if `x > c` and `-b` if `x < -c`. For
623628 `-c <= x <= c`, the value depends on the branch of the hysteresis loop (as
624629 illustrated in Figure 10.20 of FBS2e).
625630
631+ Parameters
632+ ----------
633+ b : float
634+ Hysteresis bound.
635+ c : float
636+ Width of hysteresis region.
637+
626638 Examples
627639 --------
628640 >>> nl = ct.relay_hysteresis_nonlinearity(1, 2)
@@ -683,7 +695,7 @@ class friction_backlash_nonlinearity(DescribingFunctionNonlinearity):
683695 This class creates a nonlinear function representing a friction-dominated
684696 backlash nonlinearity ,including the describing function for the
685697 nonlinearity. The following call creates a nonlinear function suitable
686- for describing function analysis:
698+ for describing function analysis::
687699
688700 F = friction_backlash_nonlinearity(b)
689701
@@ -692,6 +704,11 @@ class friction_backlash_nonlinearity(DescribingFunctionNonlinearity):
692704 center, the output is unchanged. Otherwise, the output is given by the
693705 input shifted by `b/2`.
694706
707+ Parameters
708+ ----------
709+ b : float
710+ Backlash amount.
711+
695712 Examples
696713 --------
697714 >>> nl = ct.friction_backlash_nonlinearity(2) # backlash of +/- 1
0 commit comments