Skip to content

Make output response matrices consistent between continuous and discrete time#143

Merged
murrayrm merged 2 commits into
python-control:masterfrom
murrayrm:timeresp-discrete-retval-fix
Apr 21, 2017
Merged

Make output response matrices consistent between continuous and discrete time#143
murrayrm merged 2 commits into
python-control:masterfrom
murrayrm:timeresp-discrete-retval-fix

Conversation

@murrayrm

Copy link
Copy Markdown
Member

This PR addresses issue #142 where the output response matrices were not consistent for continuous and discrete time simulations. The error was in the discrete time simulation, where the conventions used by spicy.signal are different than those used by python-control. Also added a unit test that catches this error.

@coveralls

coveralls commented Apr 15, 2017

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.02%) to 77.344% when pulling 1adfaf0 on murrayrm:timeresp-discrete-retval-fix into 6ada795 on python-control:master.

@roryyorke roryyorke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. I suppose one could test each of control.timeresp's public functions (this fixes all of them), but it's hardly necessary.

@murrayrm

Copy link
Copy Markdown
Member Author

Thanks for the review, @roryyorke. Merging into master.

@murrayrm murrayrm merged commit e3c0f79 into python-control:master Apr 21, 2017
@murrayrm murrayrm deleted the timeresp-discrete-retval-fix branch April 21, 2017 14:49
@murrayrm murrayrm added this to the 0.8.0 milestone Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants