Currently linear, Bessel and Gaussian weighting functions are supported. The width of the Bessel function is such that it should preserve all spatial information obtained by the telescope at the wavelength of observation, but suppress higher spatial frequencies. To minimise edge effects the Bessel function is truncated at a radius of 10 half-widths from the centre (although this is configurable), and apodized over its outer third by a cosine function. Viewed in frequency space the method consists of Fourier transforming the input dataset(s), multiplying the transform by a cylindrical top-hat (the F.T. of the Bessel function), then transforming back into image space. A linear weighting function is also available which works out to one half-width - this has the advantage that it is much faster to process and is much less susceptible to edge effects. The Gaussian weighting function is probably the best compromise between the Bessel (slow and prone to edge effects) and Linear (fast but the point spread function is non-trivial for modeling).
The radius and size of `footprint' for the weighting functions are configurable using the WTFNRAD and SCALE parameters.
Additionally, spline interpolation and smoothing routines are also available. Note that the spline routines work on each integration in turn, whereas the weighting function routines work on all the input data in one go. At present the spline routines are experimental and comments are welcomed.
A regridding option derived from despike is available. This method simply puts all data points in an output grid and calculates the median of each output cell. Small pixel scales require large datasets (since not all cells in a 1 arcsecond grid will contain data points) although the KAPPA commands fillbad and glitch can be used to smooth over bad pixels.
file1{b5}
1.0
0.5
0.0
# Read bolometer 5 from file1.sdf
file2
# Read file 2 but you will still be
# prompted for WEIGHT, and shifts.
file3{i3}-
1.0
0.0
0.0
# Use everything except int 3
test.bat
# Read in another text file
Note that the parameters are position dependent and are not necessary. Missing parameters are requested. This means it is not possible to specify SHIFT_DX (position 3) without specifying the WEIGHT. If the file has the .txt extension the NDF system will attempt to convert it to NDF format before processing - this is probably not what you want.
SURF -- SCUBA User Reduction Facility