ratt-ru / QuartiCal

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

Add proper leakage term (unity diagonal). #231

Closed JSKenyon closed 1 year ago

JSKenyon commented 1 year ago

In preparation for further polcal experiments, it is useful to have an explicit leakage term. Practically, this just a complex 2x2 term which discards its on-diagonal updates. This is important as otherwise the leakage term will absorb errors which should instead be in the time-dependent gain/bandpass. This should also make plotting the leakages simpler as they are simply the off-diagonal terms of the D matrix.

Edit: Note that no additional tests have been added as this terms is functionally identical to a 2x2 complex term and is therefore tested implicitly.