From 3956994336f1d7de60c3ea5106698538be360577 Mon Sep 17 00:00:00 2001 From: Ben Greiner Date: Sat, 20 Mar 2021 13:23:38 +0100 Subject: [PATCH] dcgain and step_info post PR merge cleanup --- control/statesp.py | 2 +- control/timeresp.py | 2 +- control/xferfcn.py | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/control/statesp.py b/control/statesp.py index b86219030..03349b0ac 100644 --- a/control/statesp.py +++ b/control/statesp.py @@ -1225,7 +1225,7 @@ def dcgain(self, warn_infinite=False): Returns ------- - gain : (outputs, inputs) ndarray or scalar + gain : (noutputs, ninputs) ndarray or scalar Array or scalar value for SISO systems, depending on config.defaults['control.squeeze_frequency_response']. The value of the array elements or the scalar is either the diff --git a/control/timeresp.py b/control/timeresp.py index 630eff03a..eafe10992 100644 --- a/control/timeresp.py +++ b/control/timeresp.py @@ -937,7 +937,7 @@ def step_info(sysdata, T=None, T_num=None, yfinal=None, peak_time = T[peak_index] # SteadyStateValue - steady_state_value = InfValue.real + steady_state_value = InfValue retij = { 'RiseTime': rise_time, diff --git a/control/xferfcn.py b/control/xferfcn.py index 3e48c7f24..99603b253 100644 --- a/control/xferfcn.py +++ b/control/xferfcn.py @@ -1070,7 +1070,7 @@ def dcgain(self, warn_infinite=False): Returns ------- - gain : (outputs, inputs) ndarray or scalar + gain : (noutputs, ninputs) ndarray or scalar Array or scalar value for SISO systems, depending on config.defaults['control.squeeze_frequency_response']. The value of the array elements or the scalar is either the @@ -1080,7 +1080,6 @@ def dcgain(self, warn_infinite=False): For real valued systems, the empty imaginary part of the complex zero-frequency response is discarded and a real array or scalar is returned. - """ return self._dcgain(warn_infinite) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy