Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove _bandwidth method in lti.py
  • Loading branch information
SCLiao47 committed May 4, 2023
commit a370cdb65e7038cae6ffe88f881dba00ff87b7d9
5 changes: 0 additions & 5 deletions control/lti.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,6 @@ def _dcgain(self, warn_infinite):
return zeroresp

def bandwidth(self, dbdrop=-3):
"""Return the bandwidth"""
raise NotImplementedError("bandwidth not implemented for %s objects" %
str(self.__class__))

def _bandwidth(self, dbdrop=-3):
# check if system is SISO and dbdrop is a negative scalar
if not self.issiso():
raise TypeError("system should be a SISO system")
Expand Down
4 changes: 0 additions & 4 deletions control/statesp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1424,10 +1424,6 @@ def dcgain(self, warn_infinite=False):
"""
return self._dcgain(warn_infinite)

def bandwidth(self, dbdrop=-3):
"""Return the bandwith"""
return self._bandwidth(dbdrop)

def dynamics(self, t, x, u=None, params=None):
"""Compute the dynamics of the system

Expand Down
4 changes: 0 additions & 4 deletions control/xferfcn.py
Original file line number Diff line number Diff line change
Expand Up @@ -1247,10 +1247,6 @@ def dcgain(self, warn_infinite=False):
"""
return self._dcgain(warn_infinite)

Comment thread
SCLiao47 marked this conversation as resolved.
Outdated
def bandwidth(self, dbdrop=-3):
"""Return the bandwith"""
return self._bandwidth(dbdrop)

def _isstatic(self):
"""returns True if and only if all of the numerator and denominator
polynomials of the (possibly MIMO) transfer function are zeroth order,
Expand Down