Collection of scripts and files dealing with the LWA antenna impedance
Loading README and project media…
Collection of scripts and files dealing with the LWA antenna impedance.
In the main directory are the general scripts:
In the Data/ directory there is a collection of various data files with their associated documentation. Files include:
The Data/FEE/ directory contains:
The following is a short example which shows how to generate the IMF correction for LWA data, which requires both LWA antenna S11 measurements and FEE S11 measurements.
The FEE S11 data with the HX62A de-embedded are located in Data/FEE/S1P/. The single antenna measurements for each station are located in the named directories in the Data/ directory
under Dipole-Dipole/ (e.g. the LWA-SV measurements are in Data/LWA-SV/Dipole-Dipole/.
First, the FEE S-parameters with the HX62A de-embedded have to be collected into a single .npz file. To do this, use Data/FEE/read_FEE_S_params.py for both polarizations:
python3 read_FEE_S_params.py -ns S2P/*A*
and
python3 read_FEE_S_params.py -ns S2P/*B*
This creates two files FEE_S11_NS.npz and FEE_S11_EW.npz, respectively. Finally, to compute the IMF correction using LWA1 antenna measurements and FEE S11 measurements use compute_IMF.py
for each polarization via
python3 compute_IMF.py -ns Data/FEE/FEE_S11_NS.npz Data/LWA1/Dipole-Dipole/*
and
python3 compute_IMF.py -ns Data/FEE/FEE_S11_EW.npz Data/LWA1/Dipole-Dipole/*
This creates two files named IMF_NS.txt and IMF_EW.txt, respectively, which contain the IMF as a function of frequency along with the $16^{th}$ and $84^{th}$ percentile uncertainty bounds.