For dual-beam it simply finds the signal detected at each pixel by looking at the difference between the pixels nearest to each chop beam. This calculates a middle beam response. (ie the response at each pixel is the difference between the L and the R beams).
For the triple-beam response the signal is the difference between the middle pixel and half the values measured in the negative beams. Set NBEAMS to 3 to use triple-beam response.
This task can be used to generate test data for remdbm.
SURF -- SCUBA User Reduction Facility