vis_to_image#

xrayvision.imaging.vis_to_image(vis, shape=<Quantity [65., 65.] pix>, pixel_size=<Quantity 1. arcsec / pix>, scheme='natural')[source]#

Create an image by ‘back projecting’ the given visibilities onto the sky.

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")] | None) – Size of pixels, if only one value is passed assume square pixels (repeating the value).

  • scheme (str) – Weight scheme natural by default.

Returns:

Back projection image

Return type:

Quantity