ratt-ru / QuartiCal

CubiCal, but with greater power.
MIT License
7 stars 4 forks source link

Add antenna referencing to diagonal terms #265

Closed JSKenyon closed 1 year ago

JSKenyon commented 1 year ago

Should do what it says on the label. For now, the implementation assumes that the reference antenna is always present. Dealing with a heavily flagged reference antenna is challenging and I haven't thought of an adequate solution yet.

This will guarantee zero phase on the reference antenna which is important for X/D calibration.

JSKenyon commented 1 year ago

I am still testing this on some of the polarization data I have worked with in the past. If everything is working correctly, I should be able to reproduce my earlier results without needing any hacked in functionality.

JSKenyon commented 1 year ago

I have managed to reproduce my results, so I believe that the referencing functionality is working as intended. Going to go ahead and merge.