SegmentSignalDescription¶
- class SegmentSignalDescription¶
Returned by
- AppendSegment(segment)¶
Appends a signal segment as last element.
- Parameters:
- segment¶
Signal segment
- 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:
- GetComment()¶
Returns the comment of the signal description
- Returns:
Signal description comment
- Return type:
str
- GetDuration()¶
Returns the duration of the signal description.
- Returns:
Duration of signal description
- Return type:
float
- GetFinalValue()¶
Returns the final value of the signal description.
- Returns:
the final value
- Return type:
float
- GetFirstValue()¶
Returns the first value of the segment.
- Returns:
the first value or NaN
- Return type:
float
- GetName()¶
Returns the name of the signal description.
- Returns:
Signal description name
- Return type:
str
- GetSegments()¶
Returns a list of all segments in the signal description.
- Returns:
The segments
- Return type:
list[
SignalSegment]