pyaedt.application.Variables.DataSet#

class pyaedt.application.Variables.DataSet(app, name, x, y, z=None, v=None, xunit='', yunit='', zunit='', vunit='')[source]#

Manages datasets.

Parameters:
app
name
xlist

List of X-axis values for the dataset.

ylist

List of Y-axis values for the dataset.

zlist, optional

List of Z-axis values for a 3D dataset only. The default is None.

vlist, optional

List of V-axis values for a 3D dataset only. The default is None.

xunitstr, optional

Units for the X axis. The default is "".

yunitstr, optional

Units for the Y axis. The default is "".

zunitstr, optional

Units for the Z axis for a 3D dataset only. The default is "".

vunitstr, optional

Units for the V axis for a 3D dataset only. The default is "".

Methods

DataSet.add_point(x, y[, z, v])

Add a point to the dataset.

DataSet.create()

Create a dataset.

DataSet.delete()

Delete the dataset.

DataSet.export([dataset_path])

Export the dataset.

DataSet.remove_point_from_index(id_to_remove)

Remove a point from an index.

DataSet.remove_point_from_x(x)

Remove a point from an X-axis value.

DataSet.update()

Update the dataset.