CurveExpression

class CurveExpression

Returned by

Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

CurveExpression

GetDefaultValue()

Returns the default value which is used as a fallback if no explicit value for an element is defined.

Returns:

Expression used as default value

Return type:

str

GetDimension()

Returns the length of the vector.

Returns:

maximum number of elements

Return type:

int

GetDistributionDefaultValue()

Returns the default value which is used as a fallback if no explicit value for a distribution element is defined.

Returns:

Expression to be used as default value for distribution

Return type:

str

GetDistributionValue(index)

Gets the distribution level of the given position.

Parameters:
index : int

Element position to return

Returns:

distribution value

Return type:

str

GetDistributionValues()

Returns a list of all distribution values. Values not explicitely set are represented by the default value.

Returns:

Sorted list containing all distribution values

Return type:

list[str]

GetValue(index)

Returns the expression defining an elements value.

Parameters:
index : int

Element position to get

Returns:

Expression

Return type:

str

GetValues()

Returns a list of all values. Values not explicitely set are represented by the default value.

Returns:

Sorted list containing all values

Return type:

list[str]

RemoveDistributionValue(index)

Removess the distribution value of the given index.

Parameters:
index : int

Element position to remove

RemoveValue(index)

Removess the expression defining an elements value.

Parameters:
index : int

Element position to remove

SetDefaultValue(value)

Sets the default value which is used as a fallback if no explicit value for an element is defined.

Parameters:
value : str

Expression to be used as default value

SetDistributionDefaultValue(value)

Sets the default value which is used as a fallback if no explicit value for a distribution element is defined.

Parameters:
value : str

Expression to be used as default value for distribution

SetDistributionValue(index, value)

Sets the distribution value of the given position.

Parameters:
index : int

Element position to set

value : str

Expression

SetValue(index, value)

Sets the expression defining an elements value.

Parameters:
index : int

Element position to set

value : str

Expression