.include baps-rg.spice * pin 1: zero of potential at infinity * pin 2: L1 end1, 0.00 turns * pin 3: L1 end2, 95.00 turns V1 1 0 DC 0 AC 1 X1 0 1 2 baps-rg .control ac dec 1000 10k 1000k setplot ac wrdata /tmp/baps-rg abs(V(2)) .endc