jones_sub_solve

ska_sdp_func_python.calibration.alternative_solvers.jones_sub_solve(vobs, vmdl, wgt, ant1, ant2, gain, ch, niter, tol)

Solve this time and frequency slice of the gain table

Within each iteration the solver performs an independent least-squares optimisation for each antenna Jones matrix. It is based on the equivalent solver in the MWA RealTime System (Mitchell et at., 2008, IEEE JSTSP, 2, JSTSP.2008.2005327).

Parameters:
  • vobs – observed vis ndarray [ntime, nbaseline, nfreq, 2, 2]

  • vmdl – model vis ndarray [ntime, nbaseline, nfreq, 2, 2]

  • wgt – vis weights ndarray [ntime, nbaseline, nfreq]

  • ant1 – ndarray containing the first antenna in each baseline

  • ant2 – ndarray containing the second antenna in each baseline

  • gain – gain ndarray to be updated [ntime, nbaseline, nfreq, 2, 2]

  • ch – gain table channel to be updated

  • niter – Maximum number of iterations

  • tol – Iteration stops when the fractional change in the gain solution is below this tolerance