Sd Test Print Raw Array#
Synthetic Data test node printing the input linear array
Installation#
To use this node enable omni.syntheticdata in the Extension Manager.
Inputs#
| Name | Type | Descripton | Default | 
|---|---|---|---|
| Buffer Size (inputs:bufferSize) | 
 | Size (in bytes) of the buffer (0 if the input is a texture) | 0 | 
| Data (inputs:data) | 
 | Buffer array data | [] | 
| Data File Base Name (inputs:dataFileBaseName) | 
 | Basename of the output npy file | /tmp/sdTestRawArray | 
| Element Count (inputs:elementCount) | 
 | Number of array element | 1 | 
| Element Type (inputs:elementType) | 
 | Type of the array element | uint8 | 
| Exec (inputs:exec) | 
 | Trigger | None | 
| Height (inputs:height) | 
 | Height (0 if the input is a buffer) | 0 | 
| Mode (inputs:mode) | 
 | Mode in [printFormatted, printReferences, testReferences] | printFormatted | 
| Random Seed (inputs:randomSeed) | 
 | Random seed | 0 | 
| Reference Num Unique Random Values (inputs:referenceNumUniqueRandomValues) | 
 | Number of reference unique random values to compare | 7 | 
| Reference SWH Frame Numbers (inputs:referenceSWHFrameNumbers) | 
 | Reference swhFrameNumbers relative to the first one | [11, 17, 29] | 
| Reference Tolerance (inputs:referenceTolerance) | 
 | Reference tolerance | 0.1 | 
| Reference Values (inputs:referenceValues) | 
 | Reference data point values | [] | 
| Swh Frame Number (inputs:swhFrameNumber) | 
 | Frame number | 0 | 
| Width (inputs:width) | 
 | Width (0 if the input is a buffer) | 0 | 
Outputs#
| Name | Type | Descripton | Default | 
|---|---|---|---|
| Received (outputs:exec) | 
 | Executes when the event is received | None | 
| Swh Frame Number (outputs:swhFrameNumber) | 
 | FrameNumber just rendered | None | 
State#
| Name | Type | Descripton | Default | 
|---|---|---|---|
| Initial SWH Frame Number (state:initialSWHFrameNumber) | 
 | Initial swhFrameNumber | -1 | 
Metadata#
| Name | Value | 
|---|---|
| Unique ID | omni.syntheticdata.SdTestPrintRawArray | 
| Version | 1 | 
| Extension | omni.syntheticdata | 
| Has State? | True | 
| Implementation Language | Python | 
| Default Memory Type | cpu | 
| Generated Code Exclusions | tests | 
| __tokens | [“uint16”, “int16”, “uint32”, “int32”, “float32”, “token”, “printFormatted”, “printReferences”, “writeToDisk”] | 
| Categories | graph:action,internal:test | 
| Generated Class Name | OgnSdTestPrintRawArrayDatabase | 
| Python Module | omni.syntheticdata |