Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita370cdb

Browse files
committed
remove _bandwidth method in lti.py
1 parent28859c2 commita370cdb

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
returnzeroresp
204204

205205
defbandwidth(self,dbdrop=-3):
206-
"""Return the bandwidth"""
207-
raiseNotImplementedError("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
ifnotself.issiso():
213208
raiseTypeError("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
returnself._dcgain(warn_infinite)
14261426

1427-
defbandwidth(self,dbdrop=-3):
1428-
"""Return the bandwith"""
1429-
returnself._bandwidth(dbdrop)
1430-
14311427
defdynamics(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
returnself._dcgain(warn_infinite)
12491249

1250-
defbandwidth(self,dbdrop=-3):
1251-
"""Return the bandwith"""
1252-
returnself._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)

[8]ページ先頭

©2009-2025 Movatter.jp