astroquery:docs

query

astroquery.lamda.core.query(mol, query_type, coll_partner_index=0)[source] [edit on github]

Query the LAMDA database.

Parameters :

mol : string

Molecule or atom designation. For a list of valid designations see the :meth:print_mols method.

query_type : string

Query type to execute. Valid options:

‘erg_levels’ -> Energy Levels ‘rad_trans’ -> Radiative transitions ‘coll_rates’ -> Collisional rates

coll_partner_index : number, default 0

If collisional rates are queried, set the index of the collisional partner to the order found in the LAMDA datafile. If no index is specified, the first collsional partner is taken.

Returns :

table : astropy.table.Table

Examples

>>> t = lamda.query(mol='co', query_type='erg_levels')
>>> t.pprint()
LEVEL ENERGIES(cm^-1) WEIGHT  J
----- --------------- ------ ---
    2     3.845033413    3.0   1
    3    11.534919938    5.0   2
  ...             ...    ... ...

Page Contents