@@ -679,7 +679,7 @@ def freqresp(self, omega):
679679
680680 def pole (self ):
681681 """Compute the poles of a transfer function."""
682- _ , den , denorder = self ._common_den (allownonproper = True )
682+ _ , den , denorder = self ._common_den (allow_nonproper = True )
683683 rts = []
684684 for d , o in zip (den , denorder ):
685685 rts .extend (roots (d [:o + 1 ]))
@@ -797,7 +797,7 @@ def returnScipySignalLTI(self):
797797
798798 return out
799799
800- def _common_den (self , imag_tol = None , allownonproper = False ):
800+ def _common_den (self , imag_tol = None , allow_nonproper = False ):
801801 """
802802 Compute MIMO common denominators; return them and adjusted numerators.
803803
@@ -813,7 +813,7 @@ def _common_den(self, imag_tol=None, allownonproper=False):
813813 Threshold for the imaginary part of a root to use in detecting
814814 complex poles
815815
816- allownonproper : boolean
816+ allow_nonproper : boolean
817817 Do not enforce proper transfer functions
818818
819819 Returns
@@ -825,8 +825,8 @@ def _common_den(self, imag_tol=None, allownonproper=False):
825825 gives the numerator coefficient array for the ith output and jth
826826 input; padded for use in td04ad ('C' option); matches the
827827 denorder order; highest coefficient starts on the left.
828- If allownonproper =True and the order of a numerator exceeds the
829- order of the common denominator, num will be retured as None
828+ If allow_nonproper =True and the order of a numerator exceeds the
829+ order of the common denominator, num will be returned as None
830830
831831 den: array
832832 sys.inputs by kd
@@ -942,7 +942,7 @@ def _common_den(self, imag_tol=None, allownonproper=False):
942942 # numerater has a higher order than the denominator, the
943943 # padding will fail
944944 if len (numpoly ) > maxindex + 1 :
945- if allownonproper :
945+ if allow_nonproper :
946946 havenonproper = True
947947 break
948948 raise ValueError (
0 commit comments