Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DOC: update iosys docstrings - params not optional for updfcn, outfcn
  • Loading branch information
murrayrm committed Jun 12, 2021
commit d89dfd863dafc901e60254da75ef353f789905d5
8 changes: 4 additions & 4 deletions control/iosys.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,17 +790,17 @@ def __init__(self, updfcn, outfcn=None, inputs=None, outputs=None,
updfcn : callable
Function returning the state update function

`updfcn(t, x, u[, param]) -> array`
`updfcn(t, x, u, params) -> array`

where `x` is a 1-D array with shape (nstates,), `u` is a 1-D array
with shape (ninputs,), `t` is a float representing the currrent
time, and `param` is an optional dict containing the values of
parameters used by the function.
time, and `params` is a dict containing the values of parameters
used by the function.

outfcn : callable
Function returning the output at the given state

`outfcn(t, x, u[, param]) -> array`
`outfcn(t, x, u, params) -> array`

where the arguments are the same as for `upfcn`.

Expand Down