beam2pix#

radiotools.utils.beam2pix(image: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], cell_size: float, bmin: float, bmaj: float)[source]#

Converts an image from Jy/beam to Jy/px.

Parameters:
imagearray_like

Input image that is to be converted.

cell_sizefloat

The physical size of one pixel in arcseconds.

bminfloat

The minor axis of the beam in arcseconds.

bmajfloat

The major axis of the beam in arcseconds.

Returns:
array_like

Converted image in units of Jy/pix.