control-utils 1.1.1__zip → 1.1.3__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {control_utils-1.1.1 → control_utils-1.1.3}/PKG-INFO +1 -1
- {control_utils-1.1.1 → control_utils-1.1.3}/control_utils/__init__.py +3 -3
- {control_utils-1.1.1 → control_utils-1.1.3}/control_utils.egg-info/PKG-INFO +1 -1
- {control_utils-1.1.1 → control_utils-1.1.3}/setup.py +1 -1
- {control_utils-1.1.1 → control_utils-1.1.3}/control_utils.egg-info/SOURCES.txt +0 -0
- {control_utils-1.1.1 → control_utils-1.1.3}/control_utils.egg-info/dependency_links.txt +0 -0
- {control_utils-1.1.1 → control_utils-1.1.3}/control_utils.egg-info/top_level.txt +0 -0
- {control_utils-1.1.1 → control_utils-1.1.3}/setup.cfg +0 -0
|
@@ -175,11 +175,11 @@ def build_TF(poles=[], zeros=[]):
|
|
|
175
175
|
|
|
176
176
|
|
|
177
177
|
def root_locus_plot(G, k=None, xlim=None, ylim=None, fmtstr='-'):
|
|
178
|
-
rmat, kout = control.
|
|
178
|
+
rmat, kout = control.root_locus_map(G, k)
|
|
179
179
|
plot(real(rmat), imag(rmat), fmtstr)
|
|
180
180
|
poles = G.poles()
|
|
181
181
|
plot(real(poles), imag(poles), 'x')
|
|
182
|
-
zeros = G.
|
|
182
|
+
zeros = G.zeros()
|
|
183
183
|
if len(zeros) > 0:
|
|
184
184
|
plot(real(zeros), imag(zeros), 'o')
|
|
185
185
|
if xlim is not None:
|
|
@@ -189,7 +189,7 @@ def root_locus_plot(G, k=None, xlim=None, ylim=None, fmtstr='-'):
|
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
def add_point_to_root_locus(G, k, fmtstr='^'):
|
|
192
|
-
rmat, kout = control.
|
|
192
|
+
rmat, kout = control.root_locus_map(G, [k])
|
|
193
193
|
plot(real(rmat), imag(rmat), fmtstr)
|
|
194
194
|
|
|
195
195
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|