calibrateFRB.py uses ant 3 as reference (hard coded, line 502.) Antenna 3 is also specified in process image_field (calibration.nf, line 308). Because we have changed antenna numbering convention, this no longer grabs the third antenna in list of antennas available, but rather assigns ak03 as reference antenna, which is a problem if it doesn’t exist as AIPS won't derive calibration solutions to transfer. Suggested fix is to have a list of preferred antennas (exclude inner and outer antennas from that list) and grab the first antenna in the list that is present in the data. Also implement an option for the user to specify an antenna.
calibrateFRB.py uses ant 3 as reference (hard coded, line 502.) Antenna 3 is also specified in process image_field (calibration.nf, line 308). Because we have changed antenna numbering convention, this no longer grabs the third antenna in list of antennas available, but rather assigns ak03 as reference antenna, which is a problem if it doesn’t exist as AIPS won't derive calibration solutions to transfer. Suggested fix is to have a list of preferred antennas (exclude inner and outer antennas from that list) and grab the first antenna in the list that is present in the data. Also implement an option for the user to specify an antenna.