generate_header#

xrayvision.imaging.generate_header(vis, *, shape, pixel_size)[source]#

Generate a map head given the visibilities, pixel size and shape

Parameters:
  • vis (Visibilities) – Input visibilities.

  • shape (Quantity) – Shape of the image, if only one value is passed assume square (repeating the value).

  • pixel_size (Quantity) – Size of pixels, if only one value is passed assume square pixels (repeating the value)

Return type:

dict