rapidOIPN
rapidOIPN(t_result[?resultsDirt_resultsDirectory] [?rn_resistance] [@restl_args] ) =>o_waveform/n_rapidOIPN/nil
Description
Calculates the value of nth-order output intercept point (OIPN) or returns the waveform of rapid OIPN.
Arguments
|
List of additional arguments that can be passed to the function. |
|
Value Returned
Examples
The following example opens simulation results of harmonic balance AC (hbac) analysis.
openResults("/servers/user/lib/cell/maestro/results/maestro/ExplorerRun.0/1/test/psf")
=> "/servers/user/lib/cell/maestro/results/maestro/ExplorerRun.0/1/test/psf"
The following example lists the results available in the currently open results directory.
results()
=> (hb_fi hb_fd hb_td hb_tran hbac_im3
hbac_ip3 hbac model instance output
designParamVals primitives subckts variables
)
The following example selects the result hbac_ip3.
selectResults('hbac_ip3)
=> stdobj@0x321174b8
The following example creates a waveform object that represents the power plotted on y axis against the design variable prf, which is sweeping from -40 to -20.
wave1=rapidOIPN("hbac_ip3" ?r 50 '"prf" '-40)
=> srrWave:0x36730110
The following example creates a Waveform window win1 and returns its window ID.
win1=awvCreatePlotWindow()
=> window:3
The following example plots the waveform wave1, which represents rapid IP3 measurements, in the Waveform window win1.
awvPlotWaveform(
win1
list(wave1)
?expr list("hbac_rapidOIP3")
?color list("y18")
?lineType list("line")
?lineStyle list("solid")
?lineThickness list("thick")
?showSymbols list(t)
?dataSymbol list(".")
)
=> t

The following example opens simulation results stored in the specified results directory.
openResults("/servers/user/lib/cell/maestro/results/maestro/ExplorerRun.0/1/test/psf")
=> "/servers/user/lib/cell/maestro/results/maestro/ExplorerRun.0/1/test/psf"
The following example lists the results available in the currently open results directory.
results()
ac(ac_im3 ac_ip3 hb_mt_fi hb_mt_fd pss_tran
model instance output designParamVals primitives
subckts variables
)
The following example selects the result ac_ip3.
selectResults('ac_ip3)
=> stdobj@0x3260b278
The following example calculates the output rapid IP3 value.
rapidOIPN("ac_ip3" ?r 50)
=> 16.46864
Return to top