vis_to_image#

xrayvision.imaging.vis_to_image(vis, shape=<Quantity [65., 65.] pix>, pixel_size=<Quantity 2. arcsec>, natural=True)[source]#

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

Parameters:
  • vis (xrayvision.visibility.Visibility) – Input visibilities

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

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

  • natural (boolean optional) – Weight scheme use natural by default, uniform if False

Returns:

Quantity – Back projection image