Imaging (‘xrayvision.imaging’)#

The imaging submodule contains functions to make map and images from visibilities.

xrayvision.imaging Module#

Functions#

get_weights(vis[, scheme, norm])

Return spatial frequency weight factors for each visibility.

validate_and_expand_kwarg(q[, name])

Expand a scalar or array of size one to size two by repeating.

vis_psf_image(vis, *[, shape, pixel_size, ...])

Create the point spread function for given u, v point of the visibilities.

vis_psf_map(vis, *[, shape, pixel_size, scheme])

Create a map of the point spread function for given the visibilities.

vis_to_image(vis[, shape, pixel_size, scheme])

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

vis_to_map(vis[, shape, pixel_size, scheme])

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

generate_header(vis, *, shape, pixel_size)

Generate a map head given the visibilities, pixel size and shape

image_to_vis(image, *, u, v[, phase_center, ...])

Return a Visibilities object created from the image and u, v sampling.

map_to_vis(amap, *, u, v)

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