CalculateDownsampledSignal

ID: legacy/7.x/CalculateDownsampledSignal


Deprecated: Replaced by array-based NumPy trace step template.

This trace step template generates a down sampled signal.

The down sampled signal gets only samples, when the value of the input signal changes or the “maxTimeBetweenSamples” is exceeded.

Signals

DownsampledSignal

Downsampled signal of the input signal.

  • Direction: OUT

  • Optional: False

Signal

The signal that should be downsampled.

  • Direction: IN

  • Optional: False

Parameters

emitSampleAtEndOfTrace

Emit a sample at the end of the trace.

None … emitSampleAtEndOfTrace = False [Default]

  • Direction: IN

  • Type: BOOLEAN

maxTimeBetweenSamples

Maximum time between two samples for the signal. The time must be greater than zero. The unit is based on the trace file (mostly in seconds).

None … maxTimeBetweenSamples = 0.1s [Default]

  • Direction: IN

  • Type: FLOAT