DataSet#

class ansys.aedt.core.application.variables.DataSet(app, name, x, y, z=None, v=None, xunit='', yunit='', zunit='', vunit='', sort=True)#

Manages datasets.

Parameters:
app
namestr

Name of the app.

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

sortbool, optional

Sort dataset. The default is True.

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([output_dir])

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.