Decimatecontvar function – Multichannel Systems NeuroExplorer User Manual
Page 262

5.5.8.32. DecimateContVar Function
DecimateContVar Function
Decimates a continuous variable.
Syntax
DecimateContVar(doc, resultName, contVar, decimationFactor)
Parameters
Parameter
Type
Description
doc
documentReference Reference to the document.
resultName
string
The name of the decimated continuous variable.
contVar
variableReference
Reference to the variable.
decimationFactor
double
If decimationFactor = 2, every second data point of
contVar is copied to the result, if decimationFactor =
3, every third, etc.
Returns
None
Comments
None
Usage
NexScript
doc = GetActiveDocument()
DecimateContVar(doc, "decimated", doc.contVar1, 10)
See Also
Introduction to NexScript Programming
Page 260