vis_to_map#

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

Create a map by performing a back projection of inverse transform on the visibilities.

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 | None) – Weight scheme natural by default.

Returns:

Map object with the map created from the visibilities and the metadata will contain the offset and the pixel size

Return type:

GenericMap