rt_idl Spectral Line Data Reduction at Green BankThe Interactive Data Language is a scientific data environment for data analysis and display. Here we describe IDL procedures for calibration, averaging and display of GBT spectrometer data, that provides an introduction to the capabilities being developed in IDL.This web page is intended for observers at the NRAO Green Bank site, running IDL in the Linux computing environment. The following steps will present GBT data taken towards Orion A at 43 to 46 GHz. It is expected that the observer will modify their data configuration files and write their own IDL procedures for special processing of their observations.
Supported computersrt_idl was written before the advent of 64 bit CPUs, and only 32 bit CPUs can run the programs which extract observations directly from the GBT Archive. The computers known to run rt_idl successfully are
DemonstrationA good package produces quick results. This demo shows how public domain GBT observations may be averaged and displayed in IDL (in a mater of seconds). Any discoveries you make with this data are yours!Within the GB computing environment type the following:
Step DetailsSteps 1, 2 and 3The rt_idl procedures assume the observer wants a command line interface to the data. Usually, the observer will perform calibration steps on a small test observation, then the observer will write IDL procedures to perform repetitive calibration steps.The IDL package written by Tom Bania provides the basic functionality of common packages (ie GET,# ; SHOW). This functionality is implemented in IDL procedures and the first steps define the location of the version of these procedures the observer will use. A unix script will search for the latests spectra in the default GBT output data directory. Step 4The demo data from an Orion observation is organized as four bands 800 MHz bandwidth, dual polarization spectra. The demo script demoOrion.pro averages the data, then calibrates using Tsys*(Sig-Ref)/Ref for each polarization. An IDL script demoOrionSum.pro performs the summation for a single 800 MHz band. The LCP(white) and RCP (red) polarizations are shown after median filtering the spectral band pass by 20 channels, to remove the continuum contribution and residual band pass ripples. The plot output looks like:
Step 5The observer is prompted to hit -ENTER- to step through the 4 spectral bands. The development environment windows show messages concerning the data reduction, to allow the observer to assess the performance.Notes on the rt_idlThe rt_idl environment expects three sub-directories:
Exploring Archive DataThe standard GBT reduction system is GB_IDL, which has essentially all the functionality of rt_idl except one important feature, the ability to directly examine all data in the GBT archive. This rt_idl capability is implemented via a C program that is called directly from IDL to import GBT archive data into the internal IDL format.
The observer should think of the GBT archive as a very large data
base, and the observer sets keys
which access the database. At the rt_idl
command prompt the database keys can be listed:
!gbtDirectory : "/home/gbtdata"
!gbtProject : "TRFI_082109_L1"
!gbtFile : "LATEST"
!gbtISampler : 0 (Range 0 to 1)
!gbtStates : " " (Range 0 to 1)
!gbtBank : "A" (Range A to D)
!gbtIntegrations: "" (Range 0 to 11)
!gbtCalibrate : " "
selectspec
- which finds the data and imports the data into the internal format.
For a quick complete processing of position switched data, using the
observer specified signal and reference scan numbers use the
sigRefRef command.
The GBT observations are organized in scans, and "sdfits"
puts the scan data in FITS records
The rt_idl environment works with data records (rec below)
that are loaded into one of 10 special buffers. In addition, the
special buffers may be copied to a storage area NSAVE for
later use. The special 10 buffers have defined functions:
Each IDL procedure is contained in a file in directory
/home/astro-util/idl/gb_macros.
A list of commands is provided below:
One primary development direction for rt_idl is implimentation of
a data browser, for selecting of data to be reduced in IDL.
Keep tuned to this web page for new developments!
|