* Series RLC step: underdamped -> overshoot, then settle
V1 in 0 PULSE(0 1 0 1n 1n 1 2)
R1 in a 20
L1 a out 1m
C1 out 0 1u
.tran 1u 1m
.control
  run
  meas tran vpeak  MAX  v(out)
  meas tran vfinal FIND v(out) AT=1m
  meas tran vavg   AVG  v(out) FROM=0.6m TO=1m
  meas tran vrms   RMS  v(out) FROM=0 TO=1m
  meas tran trise  TRIG v(out) VAL=0.1 RISE=1 TARG v(out) VAL=0.9 RISE=1
.endc
.end
