Skip to content

Commit a370cdb

Browse files
committed
remove _bandwidth method in lti.py
1 parent 28859c2 commit a370cdb

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

control/lti.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,6 @@ def _dcgain(self, warn_infinite):
203203
return zeroresp
204204

205205
def bandwidth(self, dbdrop=-3):
206-
"""Return the bandwidth"""
207-
raise NotImplementedError("bandwidth not implemented for %s objects" %
208-
str(self.__class__))
209-
210-
def _bandwidth(self, dbdrop=-3):
211206
# check if system is SISO and dbdrop is a negative scalar
212207
if not self.issiso():
213208
raise TypeError("system should be a SISO system")

control/statesp.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,10 +1424,6 @@ def dcgain(self, warn_infinite=False):
14241424
"""
14251425
return self._dcgain(warn_infinite)
14261426

1427-
def bandwidth(self, dbdrop=-3):
1428-
"""Return the bandwith"""
1429-
return self._bandwidth(dbdrop)
1430-
14311427
def dynamics(self, t, x, u=None, params=None):
14321428
"""Compute the dynamics of the system
14331429

control/xferfcn.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,10 +1247,6 @@ def dcgain(self, warn_infinite=False):
12471247
"""
12481248
return self._dcgain(warn_infinite)
12491249

1250-
def bandwidth(self, dbdrop=-3):
1251-
"""Return the bandwith"""
1252-
return self._bandwidth(dbdrop)
1253-
12541250
def _isstatic(self):
12551251
"""returns True if and only if all of the numerator and denominator
12561252
polynomials of the (possibly MIMO) transfer function are zeroth order,

0 commit comments

Comments
 (0)