electricpy.bode.sbode

electricpy.bode.sbode(f, NN=1000, title='', xlim=False, ylim=False, mn=0, mx=1000, sv=False, disp3db=False, lowcut=None, magnitude=True, angle=True)[source]

S-Domain Bode Plotting Function.

Parameters:
f : function

The Input Function, must be callable function object.

NN : int, optional

The Interval over which to be generated, default=1000

title : string, optional

Additional string to be added to plot titles; default=””.

xlim : list of float, optional

Limit in x-axis for graph plot. Accepts tuple of: (xmin, xmax). Default is False.

ylim : list of float, optional

Limit in y-axis for graph plot. Accepts tuple of: (ymin, ymax). Default is False.

mn : float, optional

The minimum W value to be generated, default=0

mx : float, optional

The maximum W value to be generated, default=1000

sv : bool, optional

Save the plots as PNG files. Default is False.

disp3db : bool, optional

Control argument to enable the display of the 3dB line, default=False.

lowcut : float, optional

An additional marking line that can be plotted, default=None

magnitude : bool, optional

Control argument to enable plotting of magnitude, default=True

angle : bool, optional

Control argument to enable plotting of angle, default=True