|
|||
NRAO Home > CASA > CASA Task Reference Manual |
|
0.1.121 slsearch
Requires:
Synopsis
Search a spectral line table.
Arguments
Inputs |
| ||
tablename |
| Input spectral line table name to search. If not specified,
use the default table in the system.
| |
| allowed: | string |
|
| Default: |
| |
outfile |
| Results table name. Blank means do not write the table
to disk. | |
| allowed: | string |
|
| Default: |
| |
freqrange |
| Frequency range in GHz.
| |
| allowed: | doubleArray |
|
| Default: | 84,90 |
|
species |
| Species to search for.
| |
| allowed: | stringArray |
|
| Default: |
| |
reconly |
| List only NRAO recommended frequencies.
| |
| allowed: | bool | |
| Default: | False |
|
chemnames |
| Chemical names to search for. | |
| allowed: | stringArray |
|
| Default: |
| |
qns |
| Resolved quantum numbers to search for.
| |
| allowed: | stringArray |
|
| Default: |
|
|
intensity |
| CDMS/JPL intensity range. -1 -> do not use an
intensity range.
| |
| allowed: | doubleArray |
|
| Default: | -1 |
|
smu2 |
| S*mu*mu range in Debye**2. -1 -> do not use an
S*mu*mu range.
| |
| allowed: | doubleArray |
|
| Default: | -1 |
|
loga |
| log(A) (Einstein coefficient) range. -1 -> do not use a
loga range.
| |
| allowed: | doubleArray |
|
| Default: | -1 |
|
el |
| Lower energy state range in Kelvin. -1 -> do not use an
el range.
| |
| allowed: | doubleArray |
|
| Default: | -1 |
|
eu |
| Upper energy state range in Kelvin. -1 -> do not use an
eu range.
| |
| allowed: | doubleArray |
|
| Default: | -1 |
|
rrlinclude |
| Include RRLs in the result set?
| |
| allowed: | bool |
|
| Default: | True |
|
rrlonly |
| Include only RRLs in the result set?
| |
| allowed: | bool |
|
| Default: | False |
|
verbose |
| List result set to logger (and optionally logfile)?
| |
| allowed: | bool |
|
| Default: | False |
|
logfile |
| List result set to this logfile (only used if verbose=True).
| |
| allowed: | string |
|
| Default: | ”” |
|
append |
| If true, append to logfile if it already exists, if false
overwrite logfile it it exists. Only used if verbose=True
and logfile not blank.
| |
| allowed: | bool |
|
| Default: | False |
|
bool
Example
PARAMETER SUMMARY
tablename Input spectral line table name to search. If not specified, use the default table in the system.
outfile Results table name. Blank means do not write the table to disk.
freqrange Frequency range in GHz.
species Species to search for.
reconly List only NRAO recommended frequencies.
chemnames Chemical names to search for.
qns Resolved quantum numbers to search for.
intensity CDMS/JPL intensity range. -1 -> do not use an intensity range.
smu2 S*mu*mu range in Debye**2. -1 -> do not use an S*mu*mu range.
loga log(A) (Einstein coefficient) range. -1 -> do not use a loga range.
el Lower energy state range in Kelvin. -1 -> do not use an el range.
eu Upper energy state range in Kelvin. -1 -> do not use an eu range.
rrlinclude Include RRLs in the result set?
rrlonly Include only RRLs in the result set?
verbose List result set to logger (and optionally logfile)?
logfile List result set to this logfile (only used if verbose=True).
append If true, append to logfile if it already exists, if false overwrite logfile it it exists. Only used if verbose=True and logfile not blank.
Search the specfied spectral line table. The results table can be written to disk by specifying its name in the outfile parameter.
If outfile is not specified (ie outfile=""), no table is created. Because Splatalogue does not have values for intensity, smu2,
loga, eu, and el for radio recombination lines (rrls), one must specify to include RRLs in the specified frequency range in the
output. In this case, RRLs will be included ignoring any filters on intensity, smu2, loga, eu, and el. One can also specify to
list only RRLs. One can specify to list the search results to the logger via the verbose parameter. If verbose is False, no
logger output is listed. If verbose=True, one can also specify that the results be listed to a logfile and if this file already
exists, one can specify that the results be appended to it or to overwrite it with the results.
# put search results in a table but do not list to the logger
slsearch("myspectrallines.tbl", verbose=False)
More information about CASA may be found at the
CASA web page
Copyright © 2016 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