The data reduction of such a spectrum is done by `shifting and adding': copies of the spectrum are shifted in frequency by plus and minus the frequency-switch amount, and then subtracted. The result is divided by 2 to form the end result, as shown below schematically:
The final spectrum consists of the line at the correct frequency (and
velocity) and two half-height negative `ghost' images of the line (at
`G' in the plots above). The separation of the ghosts from the
line is
, where
is the original
frequency-switch. Any offset and/or slope in the spectrum is
automatically removed by this step, but curved baselines are not. A
`real-life' example of the above process is shown in
Figure
.
In practice one can expect a slowly-varying (and sometime large amplitude) sinewave across the band when observing in a frequency-switched mode. It may therefore be necessary to subtract higher-order polynomials from the baseline than with position- or beam-switching. In addition strong interference spikes can appear in the band, particularly when using A2. In other observing modes these will be largely cancelled out, but in the frequency-switched mode any such spike has the opportunity to appear twice. Such spikes may be accompanied by `ringing' as a result of the Fourier transform applied to the data by the DAS. These problems should be taken into account during the data reduction.
Practical data reduction therefore consists of the following steps, some of which may be optional:
>> fsw 8.1
In this case the frequency switch was
MHz.
This takes the contents of the x-register (assumed here to be the result of the previous steps listed above) and replaces it with the shifted-and-averaged version. As noted within the procedure you may be asked to provide a frequency; this is the result of a software workaround for `slow-frequency switching' (using receivers A2 and C2). To find out the frequency run SPECSUM and note the rest frequency given there for the data in question.
Specx Cookbook Reduction of millimetre wave data