8000 dcgain and step_info post PR merge cleanup · python-control/python-control@3956994 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3956994

Browse files
committed
dcgain and step_info post PR merge cleanup
1 parent 8b6dd77 commit 3956994

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

control/statesp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ def dcgain(self, warn_infinite=False):
12251225
12261226
Returns
12271227
-------
1228-
gain : (outputs, inputs) ndarray or scalar
1228+
gain : (noutputs, ninputs) ndarray or scalar
12291229
Array or scalar value for SISO systems, depending on
12301230
config.defaults['control.squeeze_frequency_response'].
12311231
The value of the array elements or the scalar is either the

control/timeresp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ def step_info(sysdata, T=None, T_num=None, yfinal=None,
937937
peak_time = T[peak_index]
938938

939939
# SteadyStateValue
940-
steady_state_value = InfValue.real
940+
steady_state_value = InfValue
941941

942942
retij = {
943943
'RiseTime': rise_time,

control/xferfcn.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ def dcgain(self, warn_infinite=False):
10701070
10711071
Returns
10721072
-------
1073-
gain : (outputs, inputs) ndarray or scalar
1073+
gain : (noutputs, ninputs) ndarray or scalar
10741074
Array or scalar value for SISO systems, depending on
10751075
config.defaults['control.squeeze_frequency_response'].
10761076
The value of the array elements or the scalar is either the
@@ -1080,7 +1080,6 @@ def dcgain(self, warn_infinite=False):
10801080
For real valued systems, the empty imaginary part of the
10811081
complex zero-frequency response is discarded and a real array or
10821082
scalar is returned.
1083-
10841083
"""
10851084
return self._dcgain(warn_infinite)
10861085

0 commit comments

Comments
 (0)
0