Reconstruct the voltage from the field probes
In this notebook we show how, from the voltage measured by some electric field probes, we can reconstruct the voltage in the whole transmission line.
Load data
[1]:
from IPython.display import HTML
import matplotlib.pyplot as plt
from multipac_testbench import MultipactorTest
from multipac_testbench.data import config_path
from multipac_testbench.data.multipactor_tests import test_140MHz_SWR4_11
from multipac_testbench.instruments import IElectricField
multipactor_test = MultipactorTest(test_140MHz_SWR4_11, config_path, freq_mhz=140.0, swr=4.0, is_raw=True)
ERROR:root:column_header = 'NI9205_E1' not present in provided file. Skipping associated instrument.
Fit the electric field theoretical law on the voltage signals
[2]:
multipactor_test.reconstruct_voltage_along_line(name="reconstruct")
Plot electric field at every position
[3]:
fps = 50
ani = multipactor_test.animate_instruments_vs_position(
(IElectricField,),
fps=fps,
keep_one_frame_over=10,
)
plt.close()
HTML(ani.to_jshtml(fps=fps))
[3]: