get: The get procedure can be used to retrieve individual data records from the input data file based on the scan number, feed, IF, integration, polarization, cal state, and sig/ref state of the data. If these parameters are not sufficient to uniquely identify a single row in the SDFITS file, only the first matching row is returned and a warning message is printed. The get procedure might be used as follows to calculate a system temperature from an uncalibrated data file:
get, scan=10, pol='LL', ifnum=1, fdnum=1, int=1, sig='T', cal='T' calon = getdata() get, scan=10, pol='LL', ifnum=1, fdnum=1, int=1, sig='T', cal='F' caloff = getdata() tcal = !g.s[0].mean_tcal tsys = caloff/(calon-caloff)*tcal print,'Mean Tsys = ',mean(tsys)
A complete list of parameters for the get procedure is given below:
getrec,4