Viewing the raw data in IDL
So, you've got the data in IDL format - how about taking a quick look at what you've got?
There may be galaxies lurking... :)
Open an IDL session
- Start IDL with idl61. Note that this invokes IDL Version 6.1; the command
"idl" is aliased to this in the a2010 account. Also note that we runner a newer version
in Ithaca (6.2 currently).
- Compile the was routines with @wasinit2
Viewing all 8 wapps
- Log in as a2010, which has all IDL paths and files, etc. setup correctly
- Restore the data file you wish to view, with restore, '504801359.sav' , or whatever the file
path is.
- Use the routine rawplot via rawplotd, d, record=record
- All 7 beams, both pols will be displayed for each record. Press enter to cycle through the records.
- The keyword record allows you to start at a record of your choice. If left out you start at the beginning of the scan.
View waterfall style
- Restore the data file you wish to view, with restore, '504801359.sav' , or whatever the file
path is.
- Issue the command loadct, 1
- Issue the command imgdisp, reform(d[pol,*,beam].d), zx=-4 where beam and pol define the beam and
polarization respectively
- You can run xloadct and fine tune the dynamic range colors to your liking, then replot
View a single beam, single rec, single pol spectrum
- Restore the data file you wish to view, with restore, '504801359.sav' , or whatever the file
path is.
- Issue the command plot, reform(d[pol,rec,beam].d), where pol=Polarization, rec=record number, and
beam = beam number. The resulting plot has channel number on the independent axis
- If you wish to plot vs velocity(with 0 km/sec at band center) or frequency, use corfrq:
- freq=corfrq(d[0,0,0].h)
- vel=corfrq(d[0,0,0].h, retvel=1)
- Use plot, vel, reform(d[pol,rec,beam].d) or plot, freq, reform(d[pol,rec,beam].d)
to plot vs. these other arrays
Using mpi_plot
- The a2010 account has an alternative plotting routine, mpi_plot, which can be used instead
of the plot command - use it if you prefer clicking and dragging with your mouse.
- Nice eps printouts can be made with mpi_plot as well.
Back to A2010
Last updated Fri Dec 30 11:32:12 EST 2005 by martha