@@ -64,9 +64,9 @@ class constructor, using the `frd` factory function, or
6464 frequency) and if a system is multi-input or multi-output, then the
6565 outputs are returned as a 2D array (indexed by output and
6666 frequency) or a 3D array (indexed by output, trace, and frequency).
67- If `` squeeze= True`` , access to the output response will remove
67+ If `squeeze` = True, access to the output response will remove
6868 single-dimensional entries from the shape of the inputs and outputs
69- even if the system is not SISO. If `` squeeze= False`` , the output is
69+ even if the system is not SISO. If `squeeze` = False, the output is
7070 returned as a 3D array (indexed by the output, input, and
7171 frequency) even if the system is SISO. The default value can be set
7272 using `config.defaults['control.squeeze_frequency_response']`.
@@ -106,10 +106,10 @@ class constructor, using the `frd` factory function, or
106106 If set to False, don't plot the magnitude or phase, respectively.
107107 return_magphase : bool, optional
108108 If True, then a frequency response data object will enumerate
109- as a tuple of the form ``(mag, phase, omega)`` where where `` mag` `
109+ as a tuple of the form ``(mag, phase, omega)`` where where `mag`
110110 is the magnitude (absolute value, not dB or log10) of the system
111- frequency response, `` phase` ` is the wrapped phase in radians of the
112- system frequency response, and `` omega` ` is the (sorted) frequencies
111+ frequency response, `phase` is the wrapped phase in radians of the
112+ system frequency response, and `omega` is the (sorted) frequencies
113113 at which the response was evaluated.
114114
115115 See Also
@@ -174,9 +174,9 @@ class constructor, using the `frd` factory function, or
174174 #: frequency) and if a system is multi-input or multi-output, then the
175175 #: outputs are returned as a 2D array (indexed by output and frequency)
176176 #: or a 3D array (indexed by output, trace, and frequency). If
177- #: `` squeeze= True`` , access to the output response will remove
177+ #: `squeeze` = True, access to the output response will remove
178178 #: single-dimensional entries from the shape of the inputs and outputs
179- #: even if the system is not SISO. If `` squeeze= False`` , the output is
179+ #: even if the system is not SISO. If `squeeze` = False, the output is
180180 #: returned as a 3D array (indexed by the output, input, and frequency)
181181 #: even if the system is SISO. The default value can be set using
182182 #: config.defaults['control.squeeze_frequency_response'].
@@ -623,9 +623,9 @@ def eval(self, omega, squeeze=None):
623623 omega : float or 1D array_like
624624 Frequencies in radians per second.
625625 squeeze : bool, optional
626- If `` squeeze= True`` , remove single-dimensional entries from
626+ If `squeeze` = True, remove single-dimensional entries from
627627 the shape of the output even if the system is not SISO. If
628- `` squeeze= False`` , keep all indices (output, input and, if omega
628+ `squeeze` = False, keep all indices (output, input and, if omega
629629 is array_like, frequency) even if the system is SISO. The
630630 default value can be set using
631631 `config.defaults['control.squeeze_frequency_response']`.
@@ -694,19 +694,19 @@ def __call__(self, s=None, squeeze=None, return_magphase=None):
694694 processing (`squeeze`, `return_magphase`).
695695
696696 squeeze : bool, optional
697- If `` squeeze= True`` , remove single-dimensional entries from the
697+ If `squeeze` = True, remove single-dimensional entries from the
698698 shape of the output even if the system is not SISO. If
699- `` squeeze= False`` , keep all indices (output, input and, if
699+ `squeeze` = False, keep all indices (output, input and, if
700700 omega is array_like, frequency) even if the system is SISO. The
701701 default value can be set using
702702 `config.defaults['control.squeeze_frequency_response']`.
703703
704704 return_magphase : bool, optional
705705 If True, then a frequency response data object will
706706 enumerate as a tuple of the form ``(mag, phase, omega)`` where
707- where `` mag` ` is the magnitude (absolute value, not dB or log10)
708- of the system frequency response, `` phase` ` is the wrapped phase
709- in radians of the system frequency response, and `` omega` ` is
707+ where `mag` is the magnitude (absolute value, not dB or log10)
708+ of the system frequency response, `phase` is the wrapped phase
709+ in radians of the system frequency response, and `omega` is
710710 the (sorted) frequencies at which the response was evaluated.
711711
712712 Returns
@@ -828,9 +828,9 @@ def plot(self, plot_type=None, *args, **kwargs):
828828 """Plot the frequency response using Bode or singular values plot.
829829
830830 Plot the frequency response using either a standard Bode plot
831- (`` plot_type='bode'`` , default) or a singular values plot
832- (`` plot_type='svplot'`` ). See `bode_plot` and
833- `singular_values_plot` for more detailed descriptions.
831+ (plot_type='bode', default) or a singular values plot
832+ (plot_type='svplot'). See `bode_plot` and `singular_values_plot`
833+ for more detailed descriptions.
834834
835835 """
836836 from .freqplot import bode_plot , singular_values_plot
@@ -961,10 +961,12 @@ def frd(*args, **kwargs):
961961 of a system. This factory function can be called in different ways:
962962
963963 ``frd(response, omega)``
964+
964965 Create an frd model with the given response data, in the form of
965966 complex response vector, at matching frequencies `omega` [in rad/s].
966967
967968 ``frd(sys, omega)``
969+
968970 Convert an LTI system into an frd model with data at frequencies
969971 `omega`.
970972
0 commit comments