@@ -1271,7 +1271,7 @@ def damp(sys, doprint=True):
1271
1271
# Simulation routines
1272
1272
# Call corresponding functions in timeresp, with arguments transposed
1273
1273
1274
- def step (sys , T = None , X0 = 0. , input = 0 , output = None , ** keywords ):
1274
+ def step (sys , T = None , X0 = 0. , input = 0 , output = None ):
1275
1275
'''
1276
1276
Step response of a linear system
1277
1277
@@ -1300,14 +1300,6 @@ def step(sys, T=None, X0=0., input=0, output=None, **keywords):
1300
1300
output: int
1301
1301
If given, index of the output that is returned by this simulation.
1302
1302
1303
- **keywords:
1304
- Additional keyword arguments control the solution algorithm for the
1305
- differential equations. These arguments are passed on to the function
1306
- :func:`control.forced_response`, which in turn passes them on to
1307<
10000
/code>
- :func:`scipy.integrate.odeint`. See the documentation for
1308
- :func:`scipy.integrate.odeint` for information about these
1309
- arguments.
1310
-
1311
1303
Returns
1312
1304
-------
1313
1305
yout: array
@@ -1325,10 +1317,10 @@ def step(sys, T=None, X0=0., input=0, output=None, **keywords):
1325
1317
>>> yout, T = step(sys, T, X0)
1326
1318
'''
1327
1319
T , yout = timeresp .step_response (sys , T , X0 , input , output ,
1328
- transpose = True , ** keywords )
1320
+ transpose = True )
1329
1321
return yout , T
1330
1322
1331
- def impulse (sys , T = None , input = 0 , output = None , ** keywords ):
1323
+ def impulse (sys , T = None , input = 0 , output = None ):
1332
1324
'''
1333
1325
Impulse response of a linear system
1334
1326
@@ -1352,14 +1344,6 @@ def impulse(sys, T=None, input=0, output=None, **keywords):
1352
1344
output: int
1353
1345
Index of the output that will be used in this simulation.
1354
1346
1355
- **keywords:
1356
- Additional keyword arguments control the solution algorithm for the
1357
- differential equations. These arguments are passed on to the function
1358
- :func:`lsim`, which in turn passes them on to
1359
- :func:`scipy.integrate.odeint`. See the documentation for
1360
- :func:`scipy.integrate.odeint` for information about these
1361
- arguments.
1362
-
1363
1347
Returns
1364
1348
-------
1365
1349
yout: array
@@ -1376,10 +1360,10 @@ def impulse(sys, T=None, input=0, output=None, **keywords):
1376
1360
>>> yout, T = impulse(sys, T)
1377
1361
'''
1378
1362
T , yout = timeresp .impulse_response (sys , T , 0 , input , output ,
1379
- transpose = True , ** keywords )
1363
+ transpose = True )
1380
1364
return yout , T
1381
1365
1382
- def initial (sys , T = None , X0 = 0. , input = None , output = None , ** keywords ):
1366
+ def initial (sys , T = None , X0 = 0. , input = None , output = None ):
1383
1367
'''
1384
1368
Initial condition response of a linear system
1385
1369
@@ -1407,15 +1391,6 @@ def initial(sys, T=None, X0=0., input=None, output=None, **keywords):
1407
1391
output: int
1408
1392
If given, index of the output that is returned by this simulation.
1409
1393
1410
- **keywords:
1411
- Additional keyword arguments control the solution algorithm for the
1412
- differential equations. These arguments are passed on to the function
1413
- :func:`lsim`, which in turn passes them on to
1414
- :func:`scipy.integrate.odeint`. See the documentation for
1415
- :func:`scipy.integrate.odeint` for information about these
1416
- arguments.
1417
-
1418
-
1419
1394
Returns
1420
1395
-------
1421
1396
yout: array
@@ -1433,10 +1408,10 @@ def initial(sys, T=None, X0=0., input=None, output=None, **keywords):
1433
1408
1434
1409
'''
1435
1410
T , yout = timeresp .initial_response (sys , T , X0 , output = output ,
1436
- transpose = True , ** keywords )
1411
+ transpose = True )
1437
1412
return yout , T
1438
1413
1439
- def lsim (sys , U = 0. , T = None , X0 = 0. , ** keywords ):
1414
+ def lsim (sys , U = 0. , T = None , X0 = 0. ):
1440
1415
'''
1441
1416
Simulate the output of a linear system.
1442
1417
@@ -1462,13 +1437,6 @@ def lsim(sys, U=0., T=None, X0=0., **keywords):
1462
1437
X0: array-like or number, optional
1463
1438
Initial condition (default = 0).
1464
1439
1465
- **keywords:
1466
- Additional keyword arguments control the solution algorithm for the
1467
- differential equations. These arguments are passed on to the function
1468
- :func:`scipy.integrate.odeint`. See the documentation for
1469
- :func:`scipy.integrate.odeint` for information about these
1470
- arguments.
1471
-
1472
1440
Returns
1473
1441
-------
1474
1442
yout: array
@@ -1486,8 +1454,7 @@ def lsim(sys, U=0., T=None, X0=0., **keywords):
1486
1454
--------
1487
1455
>>> yout, T, xout = lsim(sys, U, T, X0)
1488
1456
'''
1489
- T , yout , xout = timeresp .forced_response (sys , T , U , X0 ,
1490
- transpose = True , ** keywords )
1457
+ T , yout , xout = timeresp .forced_response (sys , T , U , X0 , transpose = True )
1491
1458
return yout , T , xout
1492
1459
1493
1460
# Return state space data as a tuple
0 commit comments