ContinuousValuesAsNumPyArray

Returns the numpy array object containing all continuous values of the NexVar object representing continuous variable. This function is much faster than ContinuousValues function when the number of values is very large (more than 200 million).

Syntax

var.ContinuousValuesAsNumPyArray()

Return

Returns the numpy array object containing all continuous values of the NexVar object representing continuous variable. The values are in milliVolts.

Note

Python only.

Examples

Python

import nex
doc = nex.GetActiveDocument()
values = doc['FP01'].ContinuousValuesAsNumPyArray()
# print the first 10 values
print(values[0:10])