Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
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
set names of ct.s and ct.z to 's' and 'z'
  • Loading branch information
murrayrm committed Jun 30, 2023
commit 0b3ae85142a6dcd1c05376dd864c8804fbb92e0e
4 changes: 2 additions & 2 deletions control/xferfcn.py
Original file line number Diff line number Diff line change
Expand Up @@ -1889,8 +1889,8 @@ def _clean_part(data):


# Define constants to represent differentiation, unit delay
TransferFunction.s = TransferFunction([1, 0], [1], 0)
TransferFunction.z = TransferFunction([1, 0], [1], True)
TransferFunction.s = TransferFunction([1, 0], [1], 0, name='s')
TransferFunction.z = TransferFunction([1, 0], [1], True, name='z')


def _float2str(value):
Expand Down