Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

drplRFValueAt

drplRFValueAt(
o_waveform
g_xValue
)
=> g_yValue / nil 

Description

Returns the Y-axis value corresponding to the specified X-axis value on the given waveform.

Arguments

o_waveform

The waveform object.

g_xValue

The X-axis value at which you want to find the corresponding Y-axis value.

Value Returned

g_yValue

Returns the Y-axis value corresponding to the specified X-axis value.

nil

Returns nil if there is an error.

Examples

When the X-axis value is 200 KHz, the function above returns 37.5n, which is the Y-axis value of the Output Noise waveform from pnoise analysis.

drplRFValueAt(rfOutputNoise("v/sqrt(Hz)" ?result "pnoise")"200K")
=> 37.5n

Return to top
 ⠀
X