create_gaintable_from_visibility

create_gaintable_from_visibility(vis: Visibility, timeslice=None, frequencyslice: Optional[float] = None, jones_type='T', **kwargs) GainTable[source]

Create gain table from visibility.

This makes an empty gain table consistent with the Visibility.

Parameters
  • vis – BlockVisibilty

  • timeslice – Time interval between solutions (s)

  • frequencyslice – Frequency solution width (Hz) (NYI)

  • jones_type – Type of calibration matrix T or G or B

Returns

GainTable