SdTestPrintRawArray#

Synthetic Data test node printing the input linear array

Installation#

To use this Node, you must enable omni.syntheticdata in the Extension Manager.

Inputs#

Name

Type

Description

Default

mode

token

Mode in [printFormatted, printReferences, testReferences]

printFormatted

exec

execution

Trigger

randomSeed

int

Random seed

swhFrameNumber

uint64

Frame number

data

uchar[]

Buffer array data

[]

width

uint

Width (0 if the input is a buffer)

height

uint

Height (0 if the input is a buffer)

bufferSize

uint

Size (in bytes) of the buffer (0 if the input is a texture)

elementType

token

Type of the array element

uint8

elementCount

int

Number of array element

1

referenceTolerance

float

Reference tolerance

0.1

referenceSWHFrameNumbers

uint[]

Reference swhFrameNumbers relative to the first one

[11, 17, 29]

referenceNumUniqueRandomValues

int

Number of reference unique random values to compare

7

referenceValues

float[]

Reference data point values

dataFileBaseName

token

Basename of the output npy file

/tmp/sdTestRawArray

Outputs#

Name

Type

Description

Default

Received (exec)

execution

Executes when the event is received

swhFrameNumber

uint64

FrameNumber just rendered