hello <@U01819B63HP> and any other knwoledgeable c...
# analog-design
j
hello @Stefan Schippers and any other knwoledgeable colleagues here, do you know how to filter stuff in the ngspice terminal, e.g. for example to use the display command and just get the signals in one module? I'm thinking about wildcards or grep, but they didn't work when I tried to use them.
s
May be something like this. Not optimal but works.
Copy code
ngspice 27 -> display > x
ngspice 28 -> shell grep  " x1\.xm2" x
    x1.xm2.10           : voltage, real, 87958 long
    x1.xm2.11           : voltage, real, 87958 long
    x1.xm2.4            : voltage, real, 87958 long
    x1.xm2.5            : voltage, real, 87958 long
    x1.xm2.6            : voltage, real, 87958 long
    x1.xm2.7            : voltage, real, 87958 long
    x1.xm2.8            : voltage, real, 87958 long
    x1.xm2.9            : voltage, real, 87958 long
a
@Jorge Marin Try to post process ngspice output in python and run it in batch mode.