create_gaintable_from_screen

create_gaintable_from_screen(vis, sc, screen, height=None, vis_slices=None, r0=5000.0, type_atmosphere='ionosphere', reference_component=None, jones_type='B', **kwargs)[source]

Create gaintables from a screen calculated using ARatmospy

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

Parameters:
  • vis

  • sc – Sky components for which pierce points are needed

  • screen – Image or string (for fits file which will be memory mapped in

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

  • r0 – r0 in meters

  • type_atmosphere – ‘ionosphere’ or ‘troposphere’

  • reference – Use the first component as a reference

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

Returns: