rfGetEventtimeIndex
rfGetEventtimeIndex(t_signal t_resultName x_index) =>n_eventIndex/nil
Description
Returns the event time of a signal for the specified index value.
Arguments
Value Returned
Examples
The following example opens simulation results of periodic AC (pac) analysis stored in the specified results directory.
openResults("/servers/user/lib/cell/maestro/results/maestro/ExplorerRun.0/psf/test/psf")
=> "/servers/user/lib/cell/maestro/results/maestro/ExplorerRun.0/psf/test/psf"
The following example lists the results available in the currently open results directory.
results()
=> (pss_td pss_fd pac_sampled pac model
instance output designParamVals primitives subckts
variables
)
The following example selects the result pac_sampled.
selectResults('pac_sampled)
=> stdobj@0x322b7f80
The following example lists the outputs that are available in the selected result.
outputs()
("/RFin" "/RFout" "/vdd_rf!" "/gnd_rf!" "
"/inp" "/inm" "/outp" "/outm" "
)
The following examples return event time values of the signal RFout for the index values 0 and 1, respectively.
rfGetEventtimeIndex("RFout" "pac_sampled" 0)
=> 1.16671e-10
rfGetEventtimeIndex("RFout" "pac_sampled" 1)
=> 3.18086e-10
Return to top