DataViewx

_images/DataViewx.jpg
class decida.DataViewx.DataViewx(parent=None, **kwargs)

Bases: decida.ItclObjectx.ItclObjectx, Tkinter.Frame

synopsis:

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).

constructor arguments:

parent (Tkinter 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)

not yet implemented

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_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