GeezerVison is showing github.com — Merge pull request #582 from bnavigator/step-dcgain-clean · Nrssm/python-control@283f5e7
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: control/statesp.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1225,7 +1225,7 @@ def dcgain(self, warn_infinite=False): |
1225 | 1225 |
|
1226 | 1226 | Returns |
1227 | 1227 | ------- |
1228 | | - gain : (outputs, inputs) ndarray or scalar |
| 1228 | + gain : (noutputs, ninputs) ndarray or scalar |
1229 | 1229 | Array or scalar value for SISO systems, depending on |
1230 | 1230 | config.defaults['control.squeeze_frequency_response']. |
1231 | 1231 | The value of the array elements or the scalar is either the |
|
Collapse file
Copy file name to clipboardExpand all lines: control/timeresp.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -937,7 +937,7 @@ def step_info(sysdata, T=None, T_num=None, yfinal=None, |
937 | 937 | peak_time = T[peak_index] |
938 | 938 |
|
939 | 939 | # SteadyStateValue |
940 | | - steady_state_value = InfValue.real |
| 940 | + steady_state_value = InfValue |
941 | 941 |
|
942 | 942 | retij = { |
943 | 943 | 'RiseTime': rise_time, |
|
Collapse file
Copy file name to clipboardExpand all lines: control/xferfcn.py +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1070,7 +1070,7 @@ def dcgain(self, warn_infinite=False): |
1070 | 1070 |
|
1071 | 1071 | Returns |
1072 | 1072 | ------- |
1073 | | - gain : (outputs, inputs) ndarray or scalar |
| 1073 | + gain : (noutputs, ninputs) ndarray or scalar |
1074 | 1074 | Array or scalar value for SISO systems, depending on |
1075 | 1075 | config.defaults['control.squeeze_frequency_response']. |
1076 | 1076 | The value of the array elements or the scalar is either the |
@@ -1080,7 +1080,6 @@ def dcgain(self, warn_infinite=False): |
1080 | 1080 | For real valued systems, the empty imaginary part of the |
1081 | 1081 | complex zero-frequency response is discarded and a real array or |
1082 | 1082 | scalar is returned. |
1083 | | -
|
1084 | 1083 | """ |
1085 | 1084 | return self._dcgain(warn_infinite) |
1086 | 1085 |
|
|