GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #582 from bnavigator/step-dcgain-clean · DevLearner25/python-control@283f5e7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • control
    • statesp.py
    • timeresp.py
    • xferfcn.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎control/statesp.py‎

Copy file name to clipboardExpand all lines: control/statesp.py
+1-1Lines 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
Collapse file

‎control/timeresp.py‎

Copy file name to clipboardExpand all lines: control/timeresp.py
+1-1Lines 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,
Collapse file

‎control/xferfcn.py‎

Copy file name to clipboardExpand all lines: control/xferfcn.py
+1-2Lines 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)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.