From b2eb854b7d7a7d4ffeb9474ccb2f93ac58f093d9 Mon Sep 17 00:00:00 2001 From: Giulio Maestrini Date: Wed, 16 Nov 2022 20:41:07 +0100 Subject: [PATCH] ENG --- complex_impedance/partitore.gnuplot | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/complex_impedance/partitore.gnuplot b/complex_impedance/partitore.gnuplot index dee314e..a0a8c69 100644 --- a/complex_impedance/partitore.gnuplot +++ b/complex_impedance/partitore.gnuplot @@ -1,5 +1,5 @@ # Gnuplot script to fit an plot complex impedence -# gnuplot -c "partitore.gnuplot" +# use: gnuplot -c "partitore.gnuplot" set terminal svg size 1200,5000 mouse jsdir "https://devmsg.addns.org/public/pickup/gnuplot_js/" set output 'partitore.svg' @@ -11,9 +11,9 @@ rad(deg) = deg * pi / 180.0 deg(rad) = arg (rad) * 180.0 / pi z(real,imag) = real + i * imag -# modello impedenza (LC parallelo) +# impedance model z(x) = (1/(rs + i*w(x)*l) + (i*w(x)*cp))**-1 -# rapporto V2/V1 del partitore +# V2/V1 ratio from the voltage divider t(x) = r / ( r + z(x)) set xrange [20:101000] @@ -38,7 +38,6 @@ rs = 5810 cp = 1e-10 l = 2 - set multiplot layout 5,1 title titolo in = "single_coil.txt" -- 2.47.3