DSN Radio Astronomy
Spectra Tcl Toolkit

Last updated by Tom Kuiper on 2000 Oct 5.

Contents

Data Storage and Retrieval

Spectrum Calibration and Averaging

This section assumes that autocorrelation functions have been normalized (as discussed in the Spaceborne Tcl Toolkit) and ourier transformed, resulting in Tcl numeric lists containing normalized spectra, S.

Background

The derivations for calibration and averaging yield the following formulae:

Spectrum Calibration

The spectrum towards the source of interest, with any continuum emission removed, is
The effective integration time for the calibrated spectrum, assuming that the signal and reference spectra do not have the same integration times, is
so that the noise in the calibrated spectrum is

Averaging

If we have two spectra with unequal integration times and system temperatures, they can be combined so as to minimize the noise in the combined spectrum:
The effective integration time of the combined spectrum is
and the effective system temperature of the combined spectrum is obtained from

Normalized Spectra

Since the averaging of spectra requires that the system temperature associated with each spectrum be retained (as well as the integration time), it may be more convenient to store all spectra in normalized form, so that
In that case, the formula for calibrating spectra is
and for averaging spectra is

Tcl Package spectra-0.1

spectrum_calibrate data_spectrum reference_spectrum
Performs the operations described in eqs. 3 and 8 above. The spectra are Tcl lists consisting of
spectra_average spectrum_1 spectrum_2
Performs the operations described in eqs. 17, 18 and 13 above. The spectra are Tcl lists consisting of