baseLine
baseLine(o_waveform) =>n_value/nil
Description
Returns the baseline value of the specified transient waveform.
Arguments
Value Returned
Examples
The following example opens simulation results stored in the specified directory.
openResults("/servers/user/design/ampsim.raw")
=> "/servers/user/design/ampsim.raw"
The tran-tran result of the results directory ampsim.raw contain a transient signal out.
waveform=v("out" ?result "tran-tran")
=> srrWave:0x34930020
The following example calculates the baseline value of the transient signal out.
baseLine(waveform)
=> -0.03882059
Return to top