grid_gaintable_to_screen

grid_gaintable_to_screen(vis, gaintables, screen, height=300000.0, gaintable_slices=None, scale=1.0, r0=5000.0, type_atmosphere='ionosphere', vis_slices=None, **kwargs)[source]

Grid a gaintable to a screen image

Screen axes are [‘XX’, ‘YY’, ‘TIME’, ‘FREQ’]

The phases are just averaged per grid cell, no phase unwrapping is performed.

Parameters:
  • vis

  • gaintables – input gaintables

  • screen

  • height – Height (in m) of screen above telescope e.g. 3e5

  • r0 – r0 in meters

  • type_atmosphere – ‘ionosphere’ or ‘troposphere’

  • scale – Multiply the screen by this factor

Returns:

gridded screen image, weights image