C M P L X F I L T
This routine produces a mid-pass complex filter, given a complex
structure as a template and low and high cutoff values. The
filter is produced by the subtraction of two gaussians. If no
low value is specified, the result is a single gaussian low-pass
filter.
Command parameters -
CDATA (Character) The name of the template complex structure.
LOWCUT (Numeric) The low cutoff value for the filter. This is
specified in terms of the Nyquist frequency. It is the
sigma of the low cut gaussian, i.e. the point at which the
rising edge of the filter reaches exp(-1/2) =~.6
HICUT (Numeric) The high cutoff value for the filter. This is
specified in terms of the Nyquist frequency. It is the
sigma of the high cut gaussian, i.e. the point at which the
falling edge of the filter reaches exp(-1/2) =~.6
OUTPUT (Character) The name of the resulting structure. This
may be the same as CDATA, in which case the operation
is performed in situ. Otherwise, a new file is created.
Command keywords - None
Output data -
The resulting complex data have a zero imaginary part, and a real
part given by F(X)=exp(-X**2/(2*V**2))-exp(-X**2/(2*U**2))
where U and V are the low and high frequency cutoffs respectively.
(Note that the actual data generated is symmetrical about the
mid point of the data, which is assumed to be the zero frequency
- the Figaro function FFT produces data in this form).
KS / AAO 9th Oct 1986.
FIGARO A general data reduction system