astroquery:docs

Splatalogue

class astroquery.splatalogue.core.Splatalogue(**kwargs)[source] [edit on github]

Bases: astroquery.query.BaseQuery

Attributes Summary

QUERY_URL str(object=’‘) -> string
SLAP_URL str(object=’‘) -> string
TIMEOUT int(x=0) -> int or long
versions tuple() -> empty tuple

Methods Summary

get_species_ids(*args, **kwds) Get a dictionary of “species” IDs, where species refers to the molecule name, mass, and chemical composition :Parameters: restr : str String to compile into an re, if specified.
query_lines(*args, **kwds) Queries the service and returns a table object.
query_lines_async(*args, **kwds)
Parameters:
set_default_options(**kwargs) Modifiy the default options.

Attributes Documentation

QUERY_URL = 'http://www.cv.nrao.edu/php/splat/c_export.php'
SLAP_URL = 'http://find.nrao.edu/splata-slap/slap'
TIMEOUT = 30
versions = ('v1.0', 'v2.0')

Methods Documentation

static get_species_ids(*args, **kwds)[source] [edit on github]

Get a dictionary of “species” IDs, where species refers to the molecule name, mass, and chemical composition

Parameters :

restr : str

String to compile into an re, if specified. Searches table for species whose names match

reflags : int

Flags to pass to :python:`re`

static query_lines(*args, **kwds) [edit on github]

Queries the service and returns a table object. Parameters ———- min_frequency : astropy.unit max_frequency : astropy.unit

Minimum and maximum frequency (or any spectral() equivalent)
chemical_name : str
Name of the chemical to search for. Treated as a regular expression. An empty set (‘’, (), [], {}) will match any species. Example: “H2CO” - 13 species have H2CO somewhere in their formula “Formaldehyde” - There are 8 isotopologues of Formaldehyde (e.g., H213CO) “formaldehyde” - Thioformaldehyde,Cyanoformaldehyde “formaldehyde”,flags=re.I - Formaldehyde,thioformaldehyde, and Cyanoformaldehyde ” H2CO ” - Just 1 species, H2CO. The spaces prevent including others.
chem_re_flags : int
See the :python:`re` module

energy_min : None or float energy_max : None or float

Energy range to include. See energy_type
energy_type : “el_cm1”,”eu_cm1”,”eu_k”,”el_k”
Type of energy to restrict. L/U for lower/upper state energy, cm/K for inverse cm, i.e. wavenumber, or K for Kelvin
intensity_lower_limit : None or float
Lower limit on the intensity. See intensity_type
intensity_type : None or ‘sij’,’cdms_jpl’,’aij’
The type of intensity on which to place a lower limit
transition : str
e.g. 1-0
version : ‘v1.0’ or ‘v2.0’
Data version
exclude : list
Types of lines to exclude. Default is: (‘potential’,’atmospheric’,’probable’) Can also exclude ‘known’
only_NRAO_recommended : bool
Show only NRAO recommended species?
line_lists : list
Options: Lovas, SLAIM, JPL, CDMS, ToyoMA, OSU, Recomb, Lisa, RFI
line_strengths : list
CDMS/JPL Intensity : ls1 Sij : ls3 Aij : ls4 Lovas/AST : ls5
energy_levels : list
E_lower (cm^-1) : el1 E_lower (K) : el2 E_upper (cm^-1) : el3 E_upper (K) : el4
export : bool
Set up arguments for the export server (as opposed to the HTML server)?
export_limit : int
Maximum number of lines in output file
noHFS : bool
No HFS Display
displayHFS : bool
Display HFS Intensity
show_unres_qn : bool
Display Unresolved Quantum Numbers
show_upper_degeneracy : bool
Display Upper State Degeneracy
show_molecule_tag : bool
Display Molecule Tag
show_qn_code : bool
Display Quantum Number Code
show_lovas_labref : bool
Display Lab Ref
show_lovas_obsref : bool
Display Obs Ref
show_orderedfreq_only : bool
Display Ordered Frequency ONLY
show_nrao_recommended : bool
Display NRAO Recommended Frequencies
payload : dict
A dictionary of keywords
Returns :An `astropy.table.Table` object :
static query_lines_async(*args, **kwds)[source] [edit on github]
Parameters :

min_frequency : astropy.unit

max_frequency : astropy.unit

Minimum and maximum frequency (or any spectral() equivalent)

Other Parameters :

———- :

chemical_name : str

Name of the chemical to search for. Treated as a regular expression. An empty set (‘’, (), [], {}) will match any species. Example: “H2CO” - 13 species have H2CO somewhere in their formula “Formaldehyde” - There are 8 isotopologues of Formaldehyde (e.g., H213CO) “formaldehyde” - Thioformaldehyde,Cyanoformaldehyde “formaldehyde”,flags=re.I - Formaldehyde,thioformaldehyde, and Cyanoformaldehyde ” H2CO ” - Just 1 species, H2CO. The spaces prevent including others.

chem_re_flags : int

See the :python:`re` module

energy_min : None or float

energy_max : None or float

Energy range to include. See energy_type

energy_type : “el_cm1”,”eu_cm1”,”eu_k”,”el_k”

Type of energy to restrict. L/U for lower/upper state energy, cm/K for inverse cm, i.e. wavenumber, or K for Kelvin

intensity_lower_limit : None or float

Lower limit on the intensity. See intensity_type

intensity_type : None or ‘sij’,’cdms_jpl’,’aij’

The type of intensity on which to place a lower limit

transition : str

e.g. 1-0

version : ‘v1.0’ or ‘v2.0’

Data version

exclude : list

Types of lines to exclude. Default is: (‘potential’,’atmospheric’,’probable’) Can also exclude ‘known’

only_NRAO_recommended : bool

Show only NRAO recommended species?

line_lists : list

Options: Lovas, SLAIM, JPL, CDMS, ToyoMA, OSU, Recomb, Lisa, RFI

line_strengths : list

CDMS/JPL Intensity : ls1 Sij : ls3 Aij : ls4 Lovas/AST : ls5

energy_levels : list

E_lower (cm^-1) : el1 E_lower (K) : el2 E_upper (cm^-1) : el3 E_upper (K) : el4

export : bool

Set up arguments for the export server (as opposed to the HTML server)?

export_limit : int

Maximum number of lines in output file

noHFS : bool

No HFS Display

displayHFS : bool

Display HFS Intensity

show_unres_qn : bool

Display Unresolved Quantum Numbers

show_upper_degeneracy : bool

Display Upper State Degeneracy

show_molecule_tag : bool

Display Molecule Tag

show_qn_code : bool

Display Quantum Number Code

show_lovas_labref : bool

Display Lab Ref

show_lovas_obsref : bool

Display Obs Ref

show_orderedfreq_only : bool

Display Ordered Frequency ONLY

show_nrao_recommended : bool

Display NRAO Recommended Frequencies

payload : dict

A dictionary of keywords

Returns :

response : requests.Response object

The response of the HTTP request.

set_default_options(**kwargs)[source] [edit on github]

Modifiy the default options. See query_lines

Page Contents