calibrate_chain

calibrate_chain(vis, model_vis, gaintables=None, calibration_context='T', controls=None, iteration=0, tol=1e-06, **kwargs)[source]

Calibrate using algorithm specified by calibration_context

The context string can denote a sequence of calibrations e.g. TGB with different timescales.

Parameters
  • vis

  • model_vis

  • calibration_context – calibration contexts in order of correction e.g. ‘TGB’

  • controls – controls dictionary, modified as necessary

  • iteration – Iteration number to be compared to the ‘first_selfcal’ field.

  • kwargs

Returns

Calibrated data_models, dict(gaintables)