To get the best power transfer into an antenna, tuning is required ... Using this data, the device can calculate the SWR. The RF signal is also divided and sampled to measure frequency.