GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — Default dt is 0 by sawyerbfuller · Pull Request #431 · python-control/python-control Conversation
|
|
Let me know what you think. If it looks good I will update documentation in modules and in conventions.rst |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Coverage increased (+0.07%) to 84.278% when pulling dc53eb9 on sawyerbfuller:default_dt_0 into d3142ff on python-control:master. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
some remarks:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
aa6bf84 to
d59e57a
Compare
|
For the defaults, it seems like most people are going use the same default for transfer functions, state space systems, and I/O systems. Right now they have to set three defaults. Does it makes sense to collapse this to just one configuration variable? Or perhaps allow both: a "global" Also: since this will nominally break code, I propose putting this into v0.9 (versus 0.8.4, which we are close to releasing). Will try to take a closer look at the code itself in a bit. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hi Richard, this all makes sense and sounds reasonable. There was some reason (I think it was mostly expedience) for why I didn’t just use a a global default dt - I think I had decided that something about the global defaults hadn’t been completely implemented yet, but let me take a look, I agree that would be the right way to do it if possible. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I like it!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
OK made a few suggested changes:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…s default system timebase
There was an error while loading. Please reload this page.
…tems, refactored __init__ on both to use it
There was an error while loading. Please reload this page.
|
latest commit creates a new, potentially-useful method,
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I think this should also resolve #399 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Did someone check to merge your PRs with @samlaf's? They seem to work on overlapping functionality. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
@bnavigator good to check. A brief glance through suggests that they are are basically operating on different aspects of the iosys functionality, and I don't anticipate any merge problems, except for the occasional empty line. The devil is in the details, of course. I don't know git will enough to do a test merge. If any issues crop up you can let me know and I will be happy to take a look at it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I made a test merge in bnavigator#1 and reactivated TravisCI for my fork. Tests look good so far, there were merge conflicts in both merges, because the edits were in lines next to each other. Please check, if I resolved correctly. Originally posted by @bnavigator in #433 (comment) I postet the comment in the wrong thread. Meant to post it here, so that @samlaf gets notified too. Alas, another mention. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
revert this commit when merging into or with python-control#400 and python-control#431
revert this commit when merging into/with python-control#431 (remove statesp_test.py::test_copy_constructor_nodt if not applicable)
revert this commit when merging into or with python-control#400 and python-control#431
revert this commit when merging into/with python-control#431 (remove statesp_test.py::test_copy_constructor_nodt if not applicable)
revert this commit when merging into or with python-control#400 and python-control#431
revert this commit when merging into/with python-control#431 (remove statesp_test.py::test_copy_constructor_nodt if not applicable)
revert this commit when merging into or with python-control#400 and python-control#431
revert this commit when merging into/with python-control#431 (remove statesp_test.py::test_copy_constructor_nodt if not applicable)
revert this commit when merging into or with python-control#400 and python-control#431
revert this commit when merging into/with python-control#431 (remove statesp_test.py::test_copy_constructor_nodt if not applicable)
revert this commit when merging into/with python-control#431 (remove statesp_test.py::test_copy_constructor_nodt if not applicable)
revert this commit when merging into/with python-control#431 (remove statesp_test.py::test_copy_constructor_nodt if not applicable)
revert this commit when merging a rebased python-control#431 (remove statesp_test.py::test_copy_constructor_nodt if not applicable)
* reorganize travis matrix, extend conftest.py * pytestify bdalg_test * pytestify canonical_test * pytestify config_test * pytestify convert_test.py * pytestify ctrlutil_test * pytestify delay_test.py * pytestify discrete_test * pytestify flatsys_test * pytestify frd_test * pytestify freqresp_test.py * pytestify input_element_int_test * pytestify iosys_test * pytestify lti_test.py * pytestify mateqn_test * pytestify matlab tests * pytestify minreal_test * pytestify modelsimp * pytestify nichols_test * pytestify phaseplot_test * pytestify rlocus_test.py * pytestify robust tests * pytestify sisotool_test.py * pytestify slycot_convert_test.py * pytestify statefbk tests * pytestify statesp tests * pytestify timeresp_test.py * pytestify xferfcn_input_test.py remove a lot of duplicate code by converting everything into a single parametrized test function. * pytestify xferfcn tests * make tests work with pre #431 source code state revert this commit when merging a rebased #431 (remove statesp_test.py::test_copy_constructor_nodt if not applicable)
…" from python-control#438 This reverts commit 2b98769.
|
Superseded by #490 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Rebased #431: Default dt is 0
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
use dt=0 instead of dt=None (unspecified timebase) as default option for lti systems? Problem with DT State-Space Response Bugs in InterconnectedSystem: different dt's [fixed] and non-proper TFs [open]
There was an error while loading. Please reload this page.