Python3 script to strip the XY and YX data from an Apertif UV FITS file
The script is run as "local_path/trim_beam.py input_data_set output_data_set"
The file format used is UV FITS.
The first line in the script must then be changed to point to your local python3 installation and the script must be made executable with "chmod +x trim_uvfits.py"
Alternatively one can run the script as "python3 local_path/trim_uvfits.py input_data_set output_data_set"