Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

generate error for tf2ss of non-proper transfer function#492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

murrayrm
Copy link
Member

@murrayrmmurrayrm commentedDec 31, 2020
edited
Loading

This PR resolves issue#399 whentf2io is called with a non-proper transfer function (which cannot be represented as a state space system). The underlying issue turned out to be intf2ss, which had the same bug and was probably introduced in PR#370 when we started allowing non-proper transfer functions.

Added unit tests to catch the case and then fixed them by generating aValueError when you try to convert a non-proper transfer function into aStateSpace object.

Also did some PEP8 cleanup onstatesp.py.

@coveralls
Copy link

coveralls commentedDec 31, 2020
edited
Loading

Coverage Status

Coverage increased (+0.007%) to 87.527% when pulling9c409eb on murrayrm:iosys-nonproper-tf intod1502f4 on python-control:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 87.09% when pulling8c707dd on murrayrm:iosys-nonproper-tf into6ed3f74 on python-control:master.

@bnavigator
Copy link
Contributor

I like the style cleanup, but of course this created conflicts with#431/#490

@bnavigatorbnavigator merged commit383e7a4 intopython-control:masterDec 31, 2020
@murrayrmmurrayrm deleted the iosys-nonproper-tf branchJanuary 15, 2021 22:04
@murrayrmmurrayrm added this to the0.9.0 milestoneMar 20, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
0.9.0
Development

Successfully merging this pull request may close these issues.

Bugs in InterconnectedSystem: different dt's [fixed] and non-proper TFs [open]
3 participants
@murrayrm@coveralls@bnavigator

[8]ページ先頭

©2009-2025 Movatter.jp