map_to_vis#

xrayvision.imaging.map_to_vis(amap, *, u, v)[source]#

Return a Visibilities object created from the map, sampling it at give u, v coordinates.

Parameters:
  • amap (GenericMap) – Input map.

  • u (Annotated[Quantity, Unit("1 / arcsec")]) – Array of u coordinates where the visibilities will be evaluated

  • v (Annotated[Quantity, Unit("1 / arcsec")]) – Array of v coordinates where the visibilities will be evaluated

Returns:

The new Visibilities object

Return type:

Visibilities