uclchem.utils#
Module Contents#
Functions#
|
Converts the UCLCHEM integer result flag to a simple messaging explaining what went wrong" |
|
A simple function used to calculate the dissipation time of a C-type shock. |
A function to load the reaction table from the UCLCHEM network into a pandas dataframe. |
|
|
A simple function to load the list of species present in the UCLCHEM network |
A simple function to load the list of species in the UCLCHEM network into a pandas dataframe. |
- uclchem.utils.check_error(error_code)[source]#
Converts the UCLCHEM integer result flag to a simple messaging explaining what went wrong”
- uclchem.utils.cshock_dissipation_time(shock_vel, initial_dens)[source]#
A simple function used to calculate the dissipation time of a C-type shock. Use to obtain a useful timescale for your C-shock model runs. Velocity of ions and neutrals equalizes at dissipation time and full cooling takes a few dissipation times.
- uclchem.utils.get_reaction_table()[source]#
A function to load the reaction table from the UCLCHEM network into a pandas dataframe.
- Returns:
A dataframe containing the reactions and their rates
- Return type:
- uclchem.utils.get_species() list[str][source]#
A simple function to load the list of species present in the UCLCHEM network