qTsys
Load telemetry data and immediately calculate system noise temperature from the AOS and Correlator data. This routine makes use of qLoad. If you don't want to deal with all the options and arguments necessary, it's much better to use the Noise routine which sets up reasonable default values and then calls qTsys.

This routine verifies whether or not the radiometer was in chop synchronisation mode. If it was, it will use two subsequent spectra in the TM file to calculate the noise temperature. If the radiometer was not in chop synchro mode, then qTsys assumes that this is a "manual" measurement. This means that a cold load was held in front of the beam by hand during the measurement and then taken away. Note that the hot and cold measurements should reside in separate TM files. qTsys will prompt you for the file number (see qLoad) in which can be found the measurement at the other temperature.

Syntax:
qTsys,FILENO
The FILENO argument is an integer value giving the number of the file to be loaded. This argument is optional. (see qLoad).

Example:
qTsys,TMdir='\\EGSE\TM\',Thot='290',Tcold='111',Tmm=[0,5000]

Options:
TMDIR='directory_name',
Override the default directory name and use the one specified. The default directory is '\\RSSPC18\TM' which is the network location of the TM saver in the Chalmers Radiometer Lab.

Thot=T,
This is the hot load temperature in Kelvin. The default value is 291K.

Tcold=T
This is the cold load temperature in Kelvin. The default value is 111K.

Tmm=[lower,upper],
override plot window range for Tsys. Note the square brackets.

fmm=[lower,upper],
initial frequency scale. default is maximum range. lower and upper are integer or float values.

TsysAOS=TsysAOS
return the AOS sys temp data in variable TsysAOS

TsysAC1=TsysAC1
return the AC1 sys temp data in variable TsysAC1

AC1freq=AC1freq
return the AC1 frequency mapping data in variable AC1freq

TsysAC2=TsysAC2
return the AC2 sys temp data in variable TsysAC2

AC2freq=AC2freq
return the AC2 frequency mapping data in variable AC2freq

/override,
Load the specified file even if it is the last one on the saver. Use this when the TM saver has been stopped and you want to look at the last file.

/nowrite,
Do not write out the data to file Tsys.AOS

/showspectra,
plot the hot and cold spectra (default, no)

/noload,
don't load a new file from saver, use the one in memory

/nocoms,
don't ask for input of extra comments