|
IDL Reference Guide: Procedures and Functions |
|
The BUTTERWORTH function returns an array that contains the absolute value of the low-pass Butterworth kernel.
This routine is written in the IDL language. Its source code can be found in the file butterworth.pro in the lib subdirectory of the IDL distribution.
The form of the filter is given by the following equation:

where W is the frequency, Wc is the cutoff frequency, and N is the order.
Result = BUTTERWORTH( X [, Y [, Z]] [, CUTOFF=value] [, ORDER=value] [, /ORIGIN] [, XDIM=value] [, YDIM=value] [, ZDIM=value] )
The result is either a 1D, 2D, or 3D array with the dimensions of the result defined by the inputs X, Y, and Z.
Either a scalar value containing the number of elements in the x direction or a vector of up to three elements giving the number of elements in the x, y, and z directions, respectively.
The number of elements in the y direction. This argument is ignored if X contains more than one element.
The number of elements in the z direction. This argument is ignored if X contains more than one element.
The cutoff frequency. The default value is 9.
The order of the filter. The default value is 1.
If set, the return array is centered at the corners of the array.
The x spacing of the columns.
The y spacing of the rows.
The z spacing of the planes.