zoom_out#

radiosim.utils.zoom_out(img, comp=None, pad_value=0)[source]#

Zoom out of an image. Padding edges with zeros.

Parameters:
img: 2D array

Image of the sky

comp: 3D array (n, (img))

Images of the components

pad_value: int

Number of pixels to pad around the source

Returns:
zoomed_img: ndarray

Image after zooming

zoomed_comp: ndarray

Componets after zooming