ALOK PRATAP SINGH
08/10/2023, 7:30 AMStefan Schippers
08/10/2023, 7:44 AM.meas
instruction, that is, the value of the phase when modulus of gain is equal to 1. see the ngspice manual for the .meas
instruction.Luis Henrique Rodovalho
08/10/2023, 7:52 AM.control
let av = db(vref1)
let ph = cphase(v(ref1))*180/3.14
meas ac gbw when av=0
meas ac pm find ph at=gbw
.endc
ALOK PRATAP SINGH
08/11/2023, 9:15 AM