Class ChannelTransform
Defines a channel of data used by the transform chain.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DelsysAPI.Channels.Transform
Assembly: DelsysAPI.dll
Syntax
public class ChannelTransform : Channel
Constructors
ChannelTransform(Double, Int32, Units)
A channel that is consumable by a transform. Data is processed in frames: sets of data points (for sensor data frames this data is time-ordered.)
Declaration
public ChannelTransform(double frameInterval, int samplesPerFrame, Units unit)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | frameInterval | Interval between frames of data (in seconds) |
| System.Int32 | samplesPerFrame | Number of samples per frame of data. |
| Units | unit | Units of the data contained in the frame. |
Methods
AddSample(Double)
Adds a sample to the transform.
Declaration
public override void AddSample(double sample)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | sample | Sample to be added. |
Overrides
GetScaledSample(Double)
Overridable function. Internally used for scaling sensor data either by signing or some sort of gain.
Declaration
public override double GetScaledSample(double sample)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | sample | Sample to be scaled. |
Returns
| Type | Description |
|---|---|
| System.Double | Scaled version of the supplied sample. |