8000 Fix broken reference to scipy.signal.dlsim · python-control/python-control@ac9e00e · GitHub
[go: up one dir, main page]

Skip to content

Commit ac9e00e

Browse files
committed
Fix broken reference to scipy.signal.dlsim
The link to dlsim was broken, producing a warning. The links to lsim were missing.
1 parent 69ce8b4 commit ac9e00e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

control/timeresp.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def forced_response(sys, T=None, U=0., X0=0., transpose=False,
219219
220220
transpose: bool, optional (default=False)
221221
If True, transpose all input and output arrays (for backward
222-
compatibility with MATLAB and scipy.signal.lsim)
222+
compatibility with MATLAB and :func:`scipy.signal.lsim`)
223223
224224
interpolate: bool, optional (default=False)
225225
If True and system is a discrete time system, the input will
@@ -249,7 +249,7 @@ def forced_response(sys, T=None, U=0., X0=0., transpose=False,
249249
Notes
250250
-----
251251
For discrete time systems, the input/output response is computed using the
252-
:scipy-signal:ref:`scipy.signal.dlsim` function.
252+
:func:`scipy.signal.dlsim` function.
253253
254254
For continuous time systems, the output is computed using the matrix
255255
exponential `exp(A t)` and assuming linear interpolation of the inputs
@@ -490,7 +490,7 @@ def step_response(sys, T=None, X0=0., input=None, output=None, T_num=None,
490490
491491
transpose: bool
492492
If True, transpose all input and output arrays (for backward
493-
compatibility with MATLAB and scipy.signal.lsim)
493+
compatibility with MATLAB and :func:`scipy.signal.lsim`)
494494
495495
return_x: bool
496496
If True, return the state vector (default = False).
@@ -662,7 +662,7 @@ def initial_response(sys, T=None, X0=0., input=0, output=None, T_num=None,
662662
663663
transpose: bool
664664
If True, transpose all input and output arrays (for backward
665-
compatibility with MATLAB and scipy.signal.lsim)
665+
compatibility with MATLAB and :func:`scipy.signal.lsim`)
666666
667667
return_x: bool
668668
If True, return the state vector (default = False).
@@ -751,7 +751,7 @@ def impulse_response(sys, T=None, X0=0., input=0, output=None, T_num=None,
751751
752752< 7BD3 code class="diff-text syntax-highlighted-line">
transpose: bool
753753
If True, transpose all input and output arrays (for backward
754-
compatibility with MATLAB and scipy.signal.lsim)
754+
compatibility with MATLAB and :func:`scipy.signal.lsim`)
755755
756756
return_x: bool
757757
If True, return the state vector (default = False).
@@ -882,4 +882,4 @@ def _default_time_vector(sys, N=None, tfinal=None):
882882
if N is None:
883883
N = int(np.clip(tfinal/ideal_dt, N_min_ct, N_max)) # N<-[N_min, N_max]
884884

885-
return np.linspace(0, tfinal, N, endpoint=False)
885+
return np.linspace(0, tfinal, N, endpoint=False)

0 commit comments

Comments
 (0)
0