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

Change name of converted LinearIOSystems#903

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
murrayrm merged 5 commits intopython-control:mainfrommurrayrm:namedio-03Jun2023
Jun 6, 2023

Conversation

murrayrm
Copy link
Member

@murrayrmmurrayrm commentedJun 4, 2023
edited
Loading

This PR implements that change suggested in PR#884 and issue#901 regarding changing the system name when a transfer function is converted to a state space system and vice versa. Converted systems now have "$converted" appended to the system name. This is only done when you do an explicit conversation viass ortf. Implicit conversions from aTransferFunction to aStateSpace object, for example as part of usinginterconnect use the original name.

In addition, prefix/suffix processing has been moved into theNamedIOSystem class, under_copy_names and_name_or_default methods.

@murrayrmmurrayrm linked an issueJun 4, 2023 that may beclosed by this pull request
@coveralls
Copy link

Coverage Status

coverage: 94.628% (+0.005%) from 94.623% when pullingd32a3db on murrayrm:namedio-03Jun2023 into184d83d on python-control:main.

Copy link
Contributor

@sawyerbfullersawyerbfuller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The new method,_copy_names is something I have needed on a few different occasions and will put to use. This looks like a good solution.

@murrayrmmurrayrm merged commit3435304 intopython-control:mainJun 6, 2023
@murrayrmmurrayrm added this to the0.9.4 milestoneJun 7, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@sawyerbfullersawyerbfullersawyerbfuller approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
0.9.4
Development

Successfully merging this pull request may close these issues.

Add rename system method to NamedIOSystems
3 participants
@murrayrm@coveralls@sawyerbfuller

[8]ページ先頭

©2009-2025 Movatter.jp