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

Add test for Nyquist evaluation at a pole#1104

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

This PR addresses#1103 by adding a check and raising an exception if the Nyquist contour includes a pole. In this case the Nyquist curve is not well defined and hence an exception is raised. (As noted in#1103, this case was already raising an exception, but not quite for the right reason.)

Unit test added that covers the situation.

@murrayrmmurrayrm linked an issueJan 28, 2025 that may beclosed by this pull request
@coveralls
Copy link

coveralls commentedJan 28, 2025
edited
Loading

Coverage Status

coverage: 94.649% (+0.001%) from 94.648%
when pulling65f5502 on murrayrm:fix-no_indent-27Jan2025
into71bd731 on python-control:main.

@slivingstonslivingston self-requested a reviewJanuary 28, 2025 23:58
@slivingstonslivingston merged commit2f59e95 intopython-control:mainJan 29, 2025
23 checks passed
@JanB1
Copy link

I don't know if I should be humbled or offended that my example is now used as a test for "Throw an error if a user tries some stupid shit". But thanks for addressing the problem, I guess. XD

slivingston reacted with laugh emoji

@murrayrmmurrayrm added this to the0.10.2 milestoneFeb 19, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@slivingstonslivingstonAwaiting requested review from slivingston

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

0.10.2

Development

Successfully merging this pull request may close these issues.

ValueError raised for certain systems with nyquist_response

4 participants

@murrayrm@coveralls@JanB1@slivingston

[8]ページ先頭

©2009-2025 Movatter.jp