Bases: decida.ItclObjectx.ItclObjectx, Tkinter.Frame
read, view, manipulate and write data.
DataViewx is used to read data in various formats and provide X and Y columns to plot the data using XYplotx. Any column in the data set can be plotted versus any other column. DataViewx 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 DataViewx object if only one data-file is to be read (otherwise, it uses XYplotx to display data from two or more files).
handle of frame or other widget to pack plot in. if this is not specified, top-level is created.
options or configuration-options
options:
- data (data pointer)
data object to view
- command (list)
not yet implemented
configuration options:
- verbose (boolean) (default=False)
enable/disable verbose mode
- title (string) (default="")
specify plot height
- plot_width (string) (default="6i")
specify plot width
- plot_height (string) (default="6i")
specify plot height
- wait (boolean) (optional, default=False)
wait in main-loop until window is destroyed
- destroy (boolean) (optional, default=False)
destroy main window after it has been displayed. useful for displaying, generating PostScript, then destroying window.
example (from test_DataViewx_2):
from decida.Data import Data
from decida.DataViewx import DataViewx
d = Data()
d.read("LTspice_ac_binary.raw")
DataViewx(data=d, command=[["frequency DB(V(vout1)) PH(V(vout1))", "xaxis="log""]])
public methods:
- public methods from ItclObjectx