Generate a chopped image from a single beam map ADD_DBM
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.
’
gaussian’
input NDF using a 30 pixel chop at
0 degrees. Write the resulting image to dbm_out.sdf. The output images are compatible with REMDBM.
All extensions and AST/WCS information are propogated to the output image.
A variance array is created if present in the input image.
If a quality array is present in the input image it is used to generate a bad pixel mask in the output image and is removed.
Bad pixels in the input image are treated as zeroes for the dual beam calculation.