Show / Hide Table of Contents

Class ChannelTransform

Defines a channel of data used by the transform chain.

Inheritance
System.Object
Channel
ChannelTransform
Inherited Members
Channel.FrameInterval
Channel.Name
Channel.Type
Channel.MaxValue
Channel.MinValue
Channel.SamplesPerFrame
Channel.SampleSize
Channel.SampleRate
Channel.NativeSampleRate
Channel.Unit
Channel.IsBound
Channel.Id
Channel.Samples
Channel.LostFrameFlag
Channel.ScaledSamples
Channel.AddLostFrameFlag(Boolean)
Channel.ScaleSamples()
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
Channel.AddSample(Double)

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.

Overrides
Channel.GetScaledSample(Double)
Back to top Generated by DocFX