create_dataset1d_project#

Circuit.create_dataset1d_project(name: str, x, y, x_unit: str = '', y_unit: str = '', sort: bool = True)#

Create a project dataset.

Parameters:
namestr

Name of dataset (without a prefix for a project dataset).

xlist

List of X-axis values for the dataset.

ylist

List of Y-axis values for the dataset.

x_unitstr, optional

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

y_unitstr, optional

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

sortbool, optional

Sort dataset. The default is True.

Returns:
ansys.aedt.core.application.variables.DataSet

Dataset object when the dataset is created, False otherwise.

References

>>> oProject.AddDataset
>>> oDesign.AddDataset