emulchem package

Submodules

emulchem.emulchem module

class emulchem.emulchem.ChemistryEmulator(specie)[source]

Bases: emulchem.emulchem.Emulator

get_prediction(radfield, zeta, density, av, temperature, metallicity)[source]

Obtain predicted abundances for given physical conditions.

radfield: float
Ultraviolet-photoionization rate (Draine).
zeta: float
cosmic-ray ionization rate (1.3 * 10^-17 s^-1).
density: float
overall molecular density (cm^-3)
av: float
visual extinction (mag)
temperature: float
temperature (Kelvin)
metallicity: float
multiplicative factor for elemental abundances with 1 corresponding to solar elemental abundances of Asplund et al (2009) (Z)
y: float
predicted molecular abundance
class emulchem.emulchem.Emulator(specie)[source]

Bases: object

deserialize_scaler(scaler_path)[source]
get_prediction_list(x)[source]
class emulchem.emulchem.RadexEmulator(specie, transition)[source]

Bases: emulchem.emulchem.Emulator

get_prediction(temperature, density, column_density, line_width=1)[source]

Obtain predicted molecular line intensities for given physical conditions.

temperature: float
temperature (Kelvin)
density: float
overall molecular density (cm^-3)

column_density: float

y: float
predicted line intensity
emulchem.emulchem.molecule_list()[source]

Get an exhaustive list of all molecules included in the emulator

emulchem.network module

Module contents

Top-level package for emulchem.