Package ASAM :: Package HILAPI :: Package Concurrent :: Package Common :: Package Signal :: Module SineSegment :: Class SineSegment

Class SineSegment

                                           object --+        
                                                    |        
Interfaces.Common.Signal.SignalSegment.ISignalSegment --+    
                                                        |    
                              SignalSegment.SignalSegment --+
                                                            |
                                           object --+       |
                                                    |       |
Interfaces.Common.Signal.SignalSegment.ISignalSegment --+   |
                                                        |   |
        Interfaces.Common.Signal.SineSegment.ISineSegment --+
                                                            |
                                                           SineSegment

Create a sine wave signal segment.

Instance Methods
 
__init__(self, duration=<ASAM.HILAPI.Implementation.Common.ValueContainer.General.Floa..., offset=<ASAM.HILAPI.Implementation.Common.ValueContainer.General.Floa..., amplitude=<ASAM.HILAPI.Implementation.Common.ValueContainer.General.Floa..., period=<ASAM.HILAPI.Implementation.Common.ValueContainer.General.Floa..., phase=<ASAM.HILAPI.Implementation.Common.ValueContainer.General.Floa...)
A complete description and graphic rendition of this signal type can be found in section 4.7.3.6 of the ASAM AE HIL specification.
 
__repr__(self)
repr(x)
Symbol
getAmplitude(self)
Symbol
getDuration(self)
Symbol
getOffset(self)
Symbol
getPeriod(self)
Symbol
getPhase(self)
 
setAmplitude(self, value)
 
setDuration(self, duration)
 
setOffset(self, value)
 
setPeriod(self, value)
 
setPhase(self, value)

Inherited from SignalSegment.SignalSegment: getComment, getType, setComment

Inherited from Interfaces.Common.Signal.SineSegment.ISineSegment: SineSegment

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  Type = 1
Properties
Symbol Amplitude
Symbol Duration
Symbol Offset
Symbol Period
Symbol Phase

Inherited from SignalSegment.SignalSegment: Comment

Inherited from object: __class__

Method Details

__init__(self, duration=<ASAM.HILAPI.Implementation.Common.ValueContainer.General.Floa..., offset=<ASAM.HILAPI.Implementation.Common.ValueContainer.General.Floa..., amplitude=<ASAM.HILAPI.Implementation.Common.ValueContainer.General.Floa..., period=<ASAM.HILAPI.Implementation.Common.ValueContainer.General.Floa..., phase=<ASAM.HILAPI.Implementation.Common.ValueContainer.General.Floa...)
(Constructor)

 

A complete description and graphic rendition of this signal type can be found in section 4.7.3.6 of the ASAM AE HIL specification.

Overrides: object.__init__

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

getAmplitude(self)

 
Returns: Symbol
Overrides: Interfaces.Common.Signal.SineSegment.ISineSegment.getAmplitude
(inherited documentation)

getDuration(self)

 
Returns: Symbol
Overrides: Interfaces.Common.Signal.SineSegment.ISineSegment.getDuration
(inherited documentation)

getOffset(self)

 
Returns: Symbol
Overrides: Interfaces.Common.Signal.SineSegment.ISineSegment.getOffset
(inherited documentation)

getPeriod(self)

 
Returns: Symbol
Overrides: Interfaces.Common.Signal.SineSegment.ISineSegment.getPeriod
(inherited documentation)

getPhase(self)

 
Returns: Symbol
Overrides: Interfaces.Common.Signal.SineSegment.ISineSegment.getPhase
(inherited documentation)

setAmplitude(self, value)

 
Overrides: Interfaces.Common.Signal.SineSegment.ISineSegment.setAmplitude
(inherited documentation)

setDuration(self, duration)

 
Overrides: Interfaces.Common.Signal.SineSegment.ISineSegment.setDuration
(inherited documentation)

setOffset(self, value)

 
Overrides: Interfaces.Common.Signal.SineSegment.ISineSegment.setOffset
(inherited documentation)

setPeriod(self, value)

 
Overrides: Interfaces.Common.Signal.SineSegment.ISineSegment.setPeriod
(inherited documentation)

setPhase(self, value)

 
Overrides: Interfaces.Common.Signal.SineSegment.ISineSegment.setPhase
(inherited documentation)

Property Details

Amplitude

Get Method:
getAmplitude(self)
Set Method:
setAmplitude(self, value)
Type:
Symbol

Duration

Get Method:
getDuration(self)
Set Method:
setDuration(self, duration)
Type:
Symbol

Offset

Get Method:
getOffset(self)
Set Method:
setOffset(self, value)
Type:
Symbol

Period

Get Method:
getPeriod(self)
Set Method:
setPeriod(self, value)
Type:
Symbol

Phase

Get Method:
getPhase(self)
Set Method:
setPhase(self, value)
Type:
Symbol