.extract command in eldo
hi,
.lstb Vlstb
VLSTB NET30 VMOINS DC 0 AC 0
* .lstb This command improves the analysis of circuit stability.
* The .LSTB command measures the loop gain by successive injection (Middlebrook
* Technique). A zero voltage source is placed in series in the loop: the first pin of the voltage loop
* must be connected to the loop input, the other pin to the loop output.
.AC DEC 10 1 1e10
.tran 1n 1n
*.PROBE ac lstb_db lstb_p V(****)
*extracts for open-loop analysis
.EXTRACT AC LABEL = gain_dc YVAL(lstb_db,1)
.EXTRACT AC LABEL = phase_margin YVAL(lstb_p,extract(gb_product))+180
.EXTRACT AC LABEL = gb_product XDOWN(lstb_db,0,1)
.EXTRACT AC LABEL = tau 1/(2*3.14159*extract(gb_product))
IT WORKS
hope that's helpful
Gafsos