DataViewm¶
- class decida.DataViewm.DataViewm(parent=None, use_matplotlib=True, **kwargs)¶
Bases:
ItclObjectxsynopsis:
Read, view, manipulate and write data.
DataViewm is used to read data in various formats and provide X and Y columns to plot the data using XYplotm. Any column in the data set can be plotted versus any other column. DataViewm provides many data-editing tools, such as data-removal, column operations on the data set, FFT, filtering, and reordering.
The DeCiDa dataview application instantiates a DataViewm object if only one data-file is to be read (otherwise, it uses XYplotm to display data from two or more files).
- constructor arguments:
parent (tk handle)
handle of frame or other widget to pack plot in. if this is not specified, top-level is created.
**kwargs (dict)
options or configuration-options
options:
data (data pointer)
data object to view
command (list)
list of lists of [xcol, ycol1, …, ycoln] names
configuration options:
verbose (bool, default=False)
enable/disable verbose mode
title (str, default=””)
specify plot height
plot_width (str, default=”6i”)
specify plot width
plot_height (str, default=”6i”)
specify plot height
wait (bool, default=False)
wait in main-loop until window is destroyed
destroy (bool, default=False)
destroy main window after it has been displayed. useful for displaying, generating PostScript, then destroying window.
example (from test_DataViewm_2):
from decida.Data import Data from decida.DataViewm import DataViewm d = Data() d.read("LTspice_ac_binary.raw") DataViewm(data=d, command=[["frequency DB(V(vout1)) PH(V(vout1))", "xaxis=\"log\""]])
public methods:
public methods from ItclObjectx