3 v0 n00 0 pulse iv=0 pv=1 rise=.2 fall=.2 area=0
4 v1 n01 0 pulse iv=0 pv=1 rise=.2 fall=.2 area=.05
5 v2 n02 0 pulse iv=0 pv=1 rise=.2 fall=.2 area=.1
6 v3 n03 0 pulse iv=0 pv=1 rise=.2 fall=.2 area=.15
7 v4 n04 0 pulse iv=0 pv=1 rise=.2 fall=.2 area=.2
8 v5 n05 0 pulse iv=0 pv=1 rise=.2 fall=.2 area=.5
9 v6 n06 0 pulse iv=0 pv=1 rise=.2 fall=.2 area=.8
10 v7 n07 0 pulse iv=0 pv=1 rise=.2 fall=.2 area=.85
11 v8 n08 0 pulse iv=0 pv=1 rise=.2 fall=.2 area=.9
12 v9 n09 0 pulse iv=0 pv=1 rise=.2 fall=.2 area=.95
13 v10 n10 0 pulse iv=0 pv=1 rise=.2 fall=.2 area=1
21 .tran 0 1 1 trace=a > pulses.out echo
23 .measure i=integral(probe="v(n00)")
24 .measure i=integral(probe="v(n01)")
25 .measure i=integral(probe="v(n02)")
26 .measure i=integral(probe="v(n03)")
27 .measure i=integral(probe="v(n04)")
28 .measure i=integral(probe="v(n05)")
29 .measure i=integral(probe="v(n06)")
30 .measure i=integral(probe="v(n07)")
31 .measure i=integral(probe="v(n08)")
32 .measure i=integral(probe="v(n09)")
33 .measure i=integral(probe="v(n10)")