|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide molecule.pro
molecule |
procedure molecule, [formula=string(s)], [name=string(s)], [/doprint], [elimit=double], [indices=variable], [/novsource] |
Plot the molecular line frequencies for previously detected molecular lines stored in !g.molecules on the currently displayed plot at the appropriate location given the current x-axis.
Note: The display is changed to show frequency as the x-axis if it is not already doing so.
Note: It is assumed that you want them shown at their rest frequency in the frequency reference frame current in use on the plotter adjusted for any source velocity. If the source velocity has already been used to adjust the x-axis display then this routine will plot the molecule lines at their rest frequencies without any offset. Use the /novsource keyword to turn off any consideration of the source velocity - lines are simply plotted at their rest frequencies no matter what the source velocity is or what the displayed x-axis is.
The set of lines to be search can be narrowed by supplying a formula or name. Wildcards are allowed and arrays of formula and names can be supplied.
Only lines with an upper state energy less than or equal to the elimit value (in K) are shown. The default value for this keyword is 50 K.
To show fewer lines use a lower elimit value or select specific lines using the formula or name keywords.
The indices keyword can be used to return the set of indices in the !g.molecules array of molecule_struct structures. This can be used to get access to full information if desired. See moleculeread for a description of the contents of the molecule_struct structure.
The line information was extracted from the Database for Astronomical Spectroscopy - Splatalogue available at www.splatalogue.net specifically tailored for the available spectral line coverage of the GBT. Splatalogue is a fully rationalized and extended compilation of existing spectroscopic resources for use by the astronomical community including, but not limited too, the JPL, CDMS, Lovas/NIST, Frank Lovas' own Spectral Line Atlas of Interstellar Molecules (SLAIM) catalogs.
Splatalogue is maintained at the North American ALMA Science Center with cooperation from the East Asian and European ALMA Regional Centers. The Splatalogue Subsystem Scientist is Anthony Remijan.
For questions, comments, suggestions or concerns about Splatalogue please submit a Helpdesk ticket through the ALMA Science Portal at help.almascience.org.
The text file containing the line information is found at $GBT_IDL_DIR/pro/guide/GBTIDL_RFF.csv
; All instances of ammonia molecule,formula='NH3*' ; Two formulas to match molecule,formula=['NH3*','HCCCHO*'] ; Alternatively molecule,name=['ammonia','2-propynal'] ; lower the upper state energy cutoff to 20 K molecule,elimit=20 ; get the indices of the species plotted molecule,indices=indices ; print out their names print,!g.molecules[indices].name