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
- name
str
Name of the app.
- x
list
List of X-axis values for the dataset.
- y
list
List of Y-axis values for the dataset.
- z
list
,optional
List of Z-axis values for a 3D dataset only. The default is
None
.- v
list
,optional
List of V-axis values for a 3D dataset only. The default is
None
.- xunit
str
,optional
Units for the X axis. The default is
""
.- yunit
str
,optional
Units for the Y axis. The default is
""
.- zunit
str
,optional
Units for the Z axis for a 3D dataset only. The default is
""
.- vunit
str
,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.
Create a dataset.
Delete the dataset.
DataSet.export
([output_dir])Export the dataset.
DataSet.remove_point_from_index
(id_to_remove)Remove a point from an index.
Remove a point from an X-axis value.
Update the dataset.