Arecibo Observatory


A quick intro to IDL

IDL is the program environment we work in when we monitor, reduce and analyze ALFALFA data. IDL is also useful for many other things, so if you can learn how to use it, it can solve problems for you to.

Rather than writing code interactively but then losing it when you exit IDL, you can write your own IDL programs in a text editor, save them outside IDL, and then, inside IDL, compile and use them. Here, we will give you an example of that.

Congratulations. You have now written, compiled and executed an IDL program!

Notice what this program does. It computes for the ALFALFA spectrometer setup the frequency and velocity (defined simply here as cz) in km/s for each channel (i.e. pixel in the frequency domain). Knowing that, figure out: Now see if you can write some programs on your own, following this example. We hope IDL makes your life easier and your research more powerful!




Last modified: Mon Oct 4 17:41:20 EDT 2010 by martha