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 (Annotated[Quantity, Unit("pix")]) – Shape of the image, if only one value is passed assume square (repeating the value).

  • pixel_size (Annotated[Quantity, Unit("arcsec / pix")]) – Size of pixels, if only one value is passed assume square pixels (repeating the value)

Return type:

dict