exo_k.chemistry
¶
@author: jeremy leconte
Module Contents¶
-
class
EquChemTable
(filename=None, remove_zeros=False)[source]¶ Bases:
object
Class to load and interpolate chemistry data.
Initializes chemical composition tables from various init files
- Parameters
filename (str) – Name of the input file
-
read_composition_in
(self, filename=None, remove_zeros=False, skiprows=7)[source]¶ Initializes chemical composition tables from composition.in files
- Parameters
filename (str) – Name of the input file
skiprows (int, optional) – Number of lines to skip in the file
-
read_composition_dat
(self, filename=None, remove_zeros=False, skiprows=1)[source]¶ Initializes chemical composition tables from composition.in files
- Parameters
filename (str) – Name of the input file
skiprows (int, optional) – Number of lines to skip in the file