Module diskchef.lamda.lamda_files

Functions to get the file from LAMDA database

Global variables

var LAMDA_FILES

Unsorted list of paths to all LAMDA database file. Use file to find a file for the species

Functions

def lamda_files(species: str) ‑> List[str]

Returns a list of absolute paths to matched LAMDA database file

The right file from this list should be copied to or linked in the radiative transfer directory

Args

species
species name

Usage:

>>> out = lamda_files('CO')
>>> isinstance(out, list)
True
>>> os.path.basename(out[0])
'co.dat'
>>> os.path.basename(lamda_files('HCO+')[0])
'hco+@xpol.dat'
>>> os.path.basename(lamda_files('pH2CO')[0])
'ph2co-h2.dat'