|
|||
NRAO Home > CASA > CASA Cookbook and User Reference Manual |
|
8.3.9.2 Line Catalog
ASAP allows loading a custom line catalog in ASCII format. The ASCII text file must have at least 4 columns with Molecule name, frequency in MHz, frequency error and intensity (any units). If the molecule name contains any spaces, they must be wrapped in quotes ””. A sample of the ASCII catalog is shown below.
H2D+ 12104.7712 177.1558 -6.0769
H2D+ 45809.2731 118.3223 -3.9494
CH 701.6811 .0441 -7.1641
CH 724.7709 .0456 -7.3912
CH 3263.7940 .1000 -6.3501
CH 3335.4810 .1000 -6.0304
You can load the ASCII line catalog, for example, if it is called my_custom_linecat.txt, by following command.
Use sd.plotter.plot_line to overlay the line catalog on the plot. (Currently overplotting line catalog works only spectra plotted in frequency.)
sd.plotter.plot(scans)
sd.plotter.plot_line(mycatlog)
The following are some useful functions to control the line catalog access. See ASAP User Guide for more complete descriptions.
mycatlog.set_frequency_limits(100,115,’GHz’) #set a frequency range for line selection
mycatlog.set_name(’*OH’) # select all alchols
More information about CASA may be found at the
CASA web page
Copyright © 2010 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search