zero.display module¶
Rich display system
-
class
zero.display.
BaseGroupPlotter
(legend_groups=True, hidden_group_names=None, **kwargs)[source]¶ Bases:
object
-
class
zero.display.
BodePlotter
(scale_db=True, xlim=None, mag_ylim=None, phase_ylim=None, xlabel=None, ylabel_mag=None, ylabel_phase=None, db_tick_major_step=20, db_tick_minor_step=10, phase_tick_major_step=45, phase_tick_minor_step=15, **kwargs)[source]¶ Bases:
zero.display.MplGroupPlotter
-
property
ax1
¶
-
property
ax2
¶
-
property
figure
¶
-
property
-
class
zero.display.
EquationDisplay
(lhs, rhs, elements)[source]¶ Bases:
zero.display.TableFormatter
-
property
row_cell_groups
¶
-
property
-
class
zero.display.
MatplotlibPlotter
(figure=None, title=None, legend=True, legend_loc='best', **kwargs)[source]¶ Bases:
zero.display.BasePlotter
-
property
figure
¶
-
property
-
class
zero.display.
MatrixDisplay
(lhs, middle, rhs, headers)[source]¶ Bases:
zero.display.TableFormatter
-
property
row_cell_groups
¶
-
property
-
class
zero.display.
MplGroupPlotter
(**kwargs)[source]¶ Bases:
zero.display.MatplotlibPlotter
,zero.display.BaseGroupPlotter
Provides interface for plotting grouped functions.
-
class
zero.display.
NodeGraph
(circuit)[source]¶ Bases:
object
-
input_shapes
= {'current': 'pentagon', 'noise': 'ellipse', 'voltage': 'box'}¶
-
-
class
zero.display.
OpAmpGainPlotter
(frequencies=None, fstart=None, fstop=None, npoints=1000, title='Open loop gain')[source]¶ Bases:
zero.display.BodePlotter
-
class
zero.display.
OpAmpNoisePlotter
(title, frequencies=None, fstart=None, fstop=None, npoints=1000)[source]¶
-
class
zero.display.
SpectralDensityPlotter
(xlim=None, ylim=None, xlabel=None, ylabel=None, **kwargs)[source]¶ Bases:
zero.display.MplGroupPlotter
-
property
axis
¶
-
property
figure
¶
-
property
-
class
zero.display.
TableFormatter
[source]¶ Bases:
object
Table formatter mixin
Children inheriting this class must implement the row_cell_groups method.
-
property
formatted_table
¶ Get formatted table
-
abstract property
row_cell_groups
¶
-
property
row_cells
¶ Returns an iterable of cells for each row in the table
-
property
table
¶ Get unformatted table
-
property