
Create a two dimensional Gaussian window function stored as a matrix.
Source:R/utils.R
gausswin_2d.RdCreate a two dimensional Gaussian window function stored as a matrix.
Arguments
- xN
number of pixels in the x dimension.
- yN
number of pixels in the y dimension.
- x0
centre of window function in the x direction in units of pixels. Note, only integer values are applied.
- y0
centre of window function in the y direction in units of pixels. Note, only integer values are applied.
- xw
the reciprocal of the standard deviation of the Gaussian window in x direction.
- yw
the reciprocal of the standard deviation of the Gaussian window in y direction.