@@ -102,6 +102,10 @@ def describing_function(
102102 A : array_like
103103 The amplitude(s) at which the describing function should be calculated.
104104
105+ num_points : int, optional
106+ Number of points to use in computing describing function (default =
107+ 100).
108+
105109 zero_check : bool, optional
106110 If `True` (default) then `A` is zero, the function will be evaluated
107111 and checked to make sure it is zero. If not, a `TypeError` exception
@@ -271,7 +275,7 @@ def __len__(self):
271275# Compute the describing function response + intersections
272276def describing_function_response (
273277 H , F , A , omega = None , refine = True , warn_nyquist = None ,
274- plot = False , check_kwargs = True , ** kwargs ):
278+ _check_kwargs = True , ** kwargs ):
275279 """Compute the describing function response of a system.
276280
277281 This function uses describing function analysis to analyze a closed
@@ -294,6 +298,10 @@ def describing_function_response(
294298 Set to True to turn on warnings generated by `nyquist_plot` or False
295299 to turn off warnings. If not set (or set to None), warnings are
296300 turned off if omega is specified, otherwise they are turned on.
301+ refine : bool, optional
302+ If `True`, :func:`scipy.optimize.minimize` to refine the estimate
303+ of the intersection of the frequency response and the describing
304+ function.
297305
298306 Returns
299307 -------
@@ -328,7 +336,7 @@ def describing_function_response(
328336 # Start by drawing a Nyquist curve
329337 response = nyquist_response (
330338 H , omega , warn_encirclements = warn_nyquist , warn_nyquist = warn_nyquist ,
331- check_kwargs = check_kwargs , ** kwargs )
339+ _check_kwargs = _check_kwargs , ** kwargs )
332340 H_omega , H_vals = response .contour .imag , H (response .contour )
333341
334342 # Compute the describing function
@@ -420,6 +428,8 @@ def describing_function_plot(
420428 If True (default), refine the location of the intersection of the
421429 Nyquist curve for the linear system and the describing function to
422430 determine the intersection point
431+ label : str or array_like of str, optional
432+ If present, replace automatically generated label with the given label.
423433 point_label : str, optional
424434 Formatting string used to label intersection points on the Nyquist
425435 plot. Defaults to "%5.2g @ %-5.2g". Set to `None` to omit labels.
@@ -429,6 +439,10 @@ def describing_function_plot(
429439 Otherwise, a new figure is created.
430440 title : str, optional
431441 Set the title of the plot. Defaults to plot type and system name(s).
442+ warn_nyquist : bool, optional
443+ Set to True to turn on warnings generated by `nyquist_plot` or False
444+ to turn off warnings. If not set (or set to None), warnings are
445+ turned off if omega is specified, otherwise they are turned on.
432446 **kwargs : :func:`matplotlib.pyplot.plot` keyword properties, optional
433447 Additional keywords passed to `matplotlib` to specify line properties
434448 for Nyquist curve.
0 commit comments