TransferFunction Does Not Accept '.' Periods In Argument For "Name" Parameter #1210
oneEclipseUser1
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
as I am working out some exercises, I want to keep track of the bode plots that I am creating by providing the exercise number as the argument for the "name" parameter. However, when attempting to do so, an exception is generated because apparently periods ('.') are not acceptable. Why? A bit surprising since it is a string after all. The argument is passed in as a string, like this:
sys1 = ct.TransferFunction(l3, name='Ex. 9.4')or, if you want to enter the transfer function as the argument so that it can be part of the graph title, as in :
'1 / (1.2s + 4.6s + 4.4s + 1)'This is the error that is generated:
It consistently generates an error if a period '.' is passed in as part of the string argument.
Can the library please be improved so that this is not an issue.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions