Skip to content

Commit bddc792

Browse files
committed
fix merge strategy 'errors'
1 parent 6b82c3c commit bddc792

2 files changed

Lines changed: 5 additions & 22 deletions

File tree

control/frdata.py

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -348,36 +348,21 @@ def eval(self, omega, squeeze=True):
348348
349349
Note that a "normal" FRD only returns values for which there is an
350350
entry in the omega vector. An interpolating FRD can return
351-
intermediate values.
352-
353-
Parameters
354-
----------
355-
omega: float or array_like
356-
Frequencies in radians per second
357-
squeeze: bool, optional (default=True)
358-
If True and `sys` is single input single output (SISO), returns a
359-
1D array or scalar depending on the length of `omega`
360-
361-
Returns
362-
-------
363-
fresp : (self.outputs, self.inputs, len(x)) or len(x) complex ndarray
364-
The frequency response of the system. Array is ``len(x)`` if and only
365-
if system is SISO and ``squeeze=True``.
351+
intermediate values.
366352
367353
Parameters
368354
----------
369-
omega: float or array_like
355+
omega : float or array_like
370356
Frequencies in radians per second
371-
squeeze: bool, optional (default=True)
357+
squeeze : bool, optional (default=True)
372358
If True and `sys` is single input single output (SISO), returns a
373359
1D array or scalar depending on the length of `omega`
374360
375361
Returns
376362
-------
377363
fresp : (self.outputs, self.inputs, len(x)) or len(x) complex ndarray
378-
The frequency response of the system. Array is ``len(x)`` if and
379-
only if system is SISO and ``squeeze=True``.
380-
364+
The frequency response of the system. Array is ``len(x)`` if and only
365+
if system is SISO and ``squeeze=True``.
381366
"""
382367
omega_array = np.array(omega, ndmin=1) # array-like version of omega
383368
if any(omega_array.imag > 0):
@@ -434,7 +419,6 @@ def __call__(self, s, squeeze=True):
434419
If `s` is not purely imaginary, because
435420
:class:`FrequencyDomainData` systems are only defined at imaginary
436421
frequency values.
437-
438422
"""
439423
if any(abs(np.array(s, ndmin=1).real) > 0):
440424
raise ValueError("__call__: FRD systems can only accept"

control/lti.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ def dcgain(self):
159159
"""Return the zero-frequency gain"""
160160
raise NotImplementedError("dcgain not implemented for %s objects" %
161161
str(self.__class__))
162-
163162

164163

165164
# Test to see if a system is SISO

0 commit comments

Comments
 (0)