solve_gaintable
- solve_gaintable(vis: Visibility, modelvis: Optional[Visibility] = None, gt=None, phase_only=True, niter=200, tol=1e-06, crosspol=False, normalise_gains=True, jones_type='T', **kwargs) GainTable [source]
Solve a gain table by fitting an observed visibility to a model visibility
If modelvis is None, a point source model is assumed.
- Parameters
vis – Visibility containing the observed data_models
modelvis – Visibility containing the visibility predicted by a model
gt – Existing gaintable
phase_only – Solve only for the phases (default=True)
niter – Number of iterations (default 30)
tol – Iteration stops when the fractional change in the gain solution is below this tolerance
crosspol – Do solutions including cross polarisations i.e. XY, YX or RL, LR
jones_type – Type of calibration matrix T or G or B
- Returns
GainTable containing solution