function rect
Creates a rectangular filter. This is defined by: Respective width and height and center position (X, Y) in the array. Optional keywords are naxis1, naxis2 which determine the size of the array. If not set, the size of the array is determined from global variables.
Syntax
result = rect(X, Y, WIDTH, HEIGHT [, naxis1=value] [, naxis2 = value])
Arguments
X: | The center of the rectangle in the x-axes |
Y: | The center of the rectangle in the y-axes |
WIDTH: | The width of the rectangle |
HEIGHT: | the height of the rectangle |
naxis1=value: | Optional, the size of the resulting array in the first dimension |
naxis2=value: | Optional, the size of the resulting array in the second dimension |