bode

wield.control.SISO.bode

Functions

bode(sys[, axB, F_Hz, omega_limits, ...])

sys should be a wield.control.SISO object

multi_bode(axB[, F_Hz, include_zp])

Plot multiple bode plots at once.

Details

bode(sys, axB=None, F_Hz=None, omega_limits=None, include_zp=True, label=None, **kwargs)[source][github]

sys should be a wield.control.SISO object

multi_bode(axB, F_Hz=None, include_zp=True, **kwargs)[source][github]

Plot multiple bode plots at once.

The main advantage is that the scale of the axes can be better auto-determined to capture all known poles and zeros. The input arguments should all be dictionaries containing the bode kwargs.

the usage should be

the kwargs on the top call are passed into all sub calls

with multi_bode(axB=axB, **kw_cmn) as bode:

bode(sisoA, label=’A’, **kw) bode(sisoB, label=’B’, **kw) bode(sisoC, label=’C’, **kw)

axB.save(‘figname.pdf’)