RTMaps Toolkits Documentation日本語

Basic Toolkit › Signal Processing components

SampleHistoryVectorizer

Keeps the last max_samples samples of one numeric input and outputs them joined in one vector, oldest first, each time a sample arrives.

Processing

Data format

Notes

Properties

NameDefaultDescription
max_samples10Number of samples kept (1 or more).
output_timestampnewestTimestamp of the output: newest = the sample just received, oldest = the oldest sample in the output (first group).
Options: newest, oldest.

Outputs

NameDescription
outputLast n samples (n <= max_samples) joined oldest first; length K x n; same type as the input.
Type: AnyType

Inputs

NameDescription
inputSignal to keep (integer or float vector of fixed length K).
Type: Numbers
resetReset signal (optional, UnsignedInteger8): non-zero drops the kept samples; nothing is output while it is non-zero.
Type: UInt8