taurex-ggchem


Nametaurex-ggchem JSON
Version 1.0.5 PyPI version JSON
download
home_pageNone
SummaryTaurex Python wrapper for the FORTRAN GGChem code.
upload_time2024-11-02 22:41:11
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords taurex taurex3 exoplanet exoplanets transmission spectroscopy atmospheres atmosphere chemistry equilibrium-chemistry chemistry-solver chemistry-equilibrium chemistry-equilibrium-solver fortran
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # GGchem

(c) Peter Woitke & Christiane Helling 2017

Fast thermo-chemical equilibrium code with or without equilibrium
condensation down to 100K.

Please cite our A&A paper "Equilibrium chemistry down to 100 K. 
Impact of silicates and phyllosilicates on carbon/oxygen ratio"; 
P. Woitke, Ch. Helling, G. H. Hunter, J. D. Millard, 
G. E. Turner, M. Worters, J. Blecic, J. W. Stock; 
2018; Astronomy & Astrophysics 614, 1; 
see GGchemPaper.pdf in this folder. 

We would be interested to hear from you about what kind of applications
you would like to use ggchem for, please let us know via email
Peter Woitke (pw31@st-and.ac.uk) 
as well as if you have any questions or problems. 

If your research results in any publications, please cite the above
article and consider to give us co-author-ship.

### To checkout the git repository and compile the code, use 

> git clone https://github.com/pw31/GGchem  
> cd GGchem/src16  
> cp makefile.prodimo makefile  
> make  

The makefile.prodimo is for ifort compiler, adjust your own makefile if
you want to compile e.g. with gfortran.

### To run the code, type 

> cd ..  
> ./ggchem input/default.in

It will create the output file "Static_Conc.dat", which contains all
computed molecular, atom and ion particle densities, the electron
density, solid and liquid particle densities, and supersaturation
ratios:

  * Tg: gas temperature [K],  
  * nHtot: total hydrogen nuclei particle density [cm-3],  
  * pges: total gas pressure [dyn/cm2]  
  * el ... W: atomic particle densities log10(natom)[cm-3]  
  * {mol}: molecular particle densities log10(nmol)[cm-3]  
  * S{cond}: supersaturation ratios log10(S) [-] of condensates  
  * n{cond}: concentration of condensed units per H nuclues log10(ncond/nHtot) [-]  
  * eps{el}: remainig element abundances in the gas phase [-]  
  * dust/gas: dust to gas mass ratio log10(rho_dust/rho_gas) [-]  
  * dustVol/H: dust volume per H nucleus log10(dust_volume) [cm3]  

S{cond} and n{cond} are used in the header to distinguish between 
supersaturation ratio and concentration of condensed units, whereas
{mol} (without the leading "n") is a molecular particle density.

### To visualise the results, use e.g.

> python tools/Plot_T.py  
> evince ggchem.pdf &  

### Customise your own model

To create your own model, make a copy of default.in and customize it to 
tell GGchem what it should do. You can also look at some of the other *.in 
files to lean from examples. Select or deselect elements by modifying 
the first line, default choice is

 H He C N O Na Mg Si Fe Al Ca Ti S Cl K Li F P V Cr Mn Ni Zr W el

where "el" means to include atomic and molecular ions, and the
electron density as well, assuming charge equilibrium.  Molecules are
included if they are made of the selected elements, otherwise they
will be ignored.

Choose element abundances with parameter abund_pick. The default
choice is abund_pick=3 for solar abundances from Asplund et
al.(2009). There are additional pre-installed options to use data from
"Abundances.dat", including "EarthCrust" (abund_pick=1), "Ocean"
(abund_pick=2) and "Meteorites" (abund_pick=4) as listed in
"Abundances.dat".  If you want any other element abundances, use
(abund_pick=0) followed by a name of a custom file with abundances,
see, e.g. input/model_Crich.in.

Choose sources for equilibrium constants kp(T)-data, default choice is 
dispol_new.dat. There are 6 different fit-formulas implemented, see
details in src16/smchem16.f (function gk). Data files having kp-data
are in folder data:

dispol_StockKitzmann.dat               : 2008, Diplomarbeit TU Berlin  
dispol_StockKitzmann_withoutTsuji.dat  : same, without Tsuji refits  
dispol_BarklemCollet.dat               : 2016, A&A 588, A96  
dispol_SharpHuebner.dat                : 1990, ApJSS 72, 417  
dispol_Tsuji.dat                       : 1973, A&A 23, 411  
dispol_GGchem.dat                      : old NIST-Janaf fits  
dispol_fast.dat                        : 9-molecules from Heng&Tsai 2016  

You can use combinations by setting dispol_file, dispol_file2, 
dispol_file3, dispol_file4 in your MyModel.in file, in which case 
the latter have preference over the former, and will overwrite 
previous data.

Choose whether you want to constrain the pressure (model_pconst=.true.)
or the mass density (model_pconst=.false.).

You can run single point model (model_dim=0), linear track
(model_dim=1) or 2D coverage (model_dim=2). Set parameters Tmin, Tmax
and then pmax, pmin or nHmax, nHmin for model_pconst=.true. or
.false., respectively. In the default model_dim=1 mode, ggchem will
make a linear track in (logp, logT) parameter space with Npoints
points.

If you want to switch on equilibrium condensation, set
model_eqcond=.true. In that mode, the code will be much slower, and
also possibly unstable. Always start from large T and then lower T
SLOWLY with successive calls. The code will create and expand
"database.dat" automatically from the results of every successful
call, such that once you have filled in the (p,T)-plane with many
points, the results will be faster and more reliable. The Gibbs-free
energy data files are in folder data:

DustChem_GGchem.dat      : old GGchem NIST-Janaf fits  
DustChem_SUPCRTBL.dat    : dG-fits from the SUPCRTBL database  
      (Zimmer et al. 2016, Computers and Geosciences, 90, 97)  
DustChem.dat             : currently used collection from both  

The pure gas phase chemistry needs about 0.4 ms per call for T > 1000 K
(real*8 version) and about 3 ms per call for T < 1000 K (real*16
version). These time measurements are for 16 elements + charge. Time
requirement roughly scale as N^3, if N is the number of elements.
The equilibrium condensation code requires many calls of the gas-phase
equilibrium chemistry routine, and takes about 0.02-0.09 sec per call,
depending on how much useful information is found in database.dat.
 
# TauREx-GGchem plugin

A Python wrapper built using the [TauREx](https://github.com/ucl-exoplanets/TauREx3_public) is available.
The wrapper also installs all available datafiles included with GGchem

## Installation


You can install one of the prebuilt binary wheels for Windows, macOS and manylinux through pip:
```bash
pip install taurex_ggchem
```

### Installing from source


To install from source a valid C/C++ and FORTRAN compiler must be present. You can compile it by doing:
```bash
git clone https://github.com/ucl-exoplanets/GGchem.git
cd GGchem
pip install .
```

## Running in TauREx

Once installed you can select the chemical model through the **chemistry_type** keyword under
Chemistry.
```
[Chemistry]
chemistry_type = ggchem
metallicity = 1.0
selected_elements = H, He, C, N, O, Ti, V, S, K
ratio_elements = C, N, Ti
ratios_to_O = 0.5,0.001, 1e-4
equilibrium_condensation = True

[Fitting]
Ti_O_ratio:fit = True
Ti_O_ratio:prior = "LogUniform(bounds=(-6,2))"
S_O_ratio:fit = True
S_O_ratio:prior = "LogUniform(bounds=(-6,2))"
metallicity:fit = True
metallicity:prior = "LogUniform(bounds=(-6,2))"
```

### Input arguments:

|Argument| Description| Type| Default | Required |
---------|------------|-----|---------|----------|
dispol_files| Path to thermochemical data | list of strings | Built-in (BarklemCollet,StockKitzmann_withoutTsuji, WoitkeRefit ) | |
abundance_profile| Initial abundance profile. Either *solar*, *meteor*, *ocean* or *earth*  | string | 'solar' | |
selected_elements| List of elements to include | list of string | All elements in GGchem | |
ratio_elements| List of elements to set the ratio | list of string | | |
ratios_to_O| ratio of each 'ratio_element' relative to oxygen | array | | |
he_h_ratio| He/H ratio | float | 0.083 | |
metallicity| Metallicity relative to initial abundance | float | 1.0 | |
include_charge| Include ions | bool | False | |
equilibrium_condensation| Include condenstation | bool | False | |
dustchem_file| Dust chemistry file | string | Built-in (DustChem.dat) | |
Tfast| Lowest temperature (K) to use faster method  | float | 1000 | |
new_back_it| | integer | 6 | |
new_back_fac| | float | 1e5 | |
new_pre_method| | integer | 2 | |
new_full_it| | bool | False | |
new_fast_level| | integer | 1 | |

### Retrieval Parameters:

|Fitting Parameter| Description| 
---------|------------|
metallicity|Metallicity relative to solar|

The wrapper will generate oxygen retrieval parameters for all metallic elements within the
chemical model. If Ti is present (either by default or specifing in **selected_elements**)
then a **Ti_O_ratio** retrieval parameter will be available.
Using the default **selected_parameters** will give access to:

|Fitting Parameter| Description| 
---------|------------|
C_O_ratio | C/O ratio |
N_O_ratio | N/O ratio |
Na_O_ratio | Na/O ratio |
Mg_O_ratio | Mg/O ratio |
Si_O_ratio | Si/O ratio |
Fe_O_ratio | Fe/O ratio |
Al_O_ratio | Al/O ratio |
Ca_O_ratio | Ca/O ratio |
Ti_O_ratio | Ti/O ratio |
S_O_ratio | S/O ratio |
Cl_O_ratio | Cl/O ratio |
K_O_ratio | K/O ratio |
Li_O_ratio | Li/O ratio |
F_O_ratio | F/O ratio |
P_O_ratio | P/O ratio |
V_O_ratio | V/O ratio |
Cr_O_ratio | Cr/O ratio |
Mn_O_ratio | Mn/O ratio |
Ni_O_ratio | Ni/O ratio |
Zr_O_ratio | Zr/O ratio |
W_O_ratio | W/O ratio |


## Running in Python

You can import the chemistry scheme in Python pretty easily

```python
>>> from taurex_ggchem import GGChem
>>> gg = GGChem(metallicity=1.0,  
         selected_elements=['H','He','C','O','N','K'], 
         abundance_profile='earthcrust', 
         equilibrium_condensation=True) 
```
You can either pass it into a TauREx forward model like so:
```python
>>> tm = TransmissionModel(chemistry=gg)
```
Or use it independently to compute volume mixing ratios for gas-phase and condensates by passing in
temperature and pressure ( Pascal ) arrays:
```python
>>> nlayers = 100
>>> T = numpy.linspace(400,1000,nlayers)
>>> P = numpy.logspace(1,5, nlayers)
>>> gg.initialize_chemistry(nlayers=nlayers, temperature_profile=T, pressure_profile=P)
>>> gg.gases
['H', 'He', 'C', 'O', 'N',..., 'N3', 'O3', 'C3H']
>>> gg.mixProfile
array([[4.75989782e-04, 4.93144149e-04, 5.10561665e-04, ...,
        2.89575385e-05, 2.47386006e-05, 2.10241059e-05],
       ...,
       [2.49670621e-16, 1.44224904e-16, 8.29805526e-17, ...,
        9.48249338e-42, 4.75884162e-42, 2.37999459e-42]])
>>> gg.condensates
['C[s]', 'H2O[s]', 'H2O[l]', 'NH3[s]', 'CH4[s]', 'CO[s]', 'CO2[s]']
>>> gg.condensateMixProfile
array([[0.00000000e+00, 0.00000000e+00, 0.00000000e+00,...,
        0.00000000e+00, 0.00000000e+00],
       [0.00000000e+00, 0.00000000e+00, 0.00000000e+00, ...,
        0.00000000e+00, 9.82922802e-10, 1.88551848e-10, 2.88471985e-11,
        4.40651877e-12, 6.95597887e-13],
        ...,
        [0.00000000e+00, 0.00000000e+00, 0.00000000e+00, ...,
        0.00000000e+00, 0.00000000e+00]])
```

## Bibliography

If you use the plugin please cite the relevant articles. TauREx will output
it at program end. You can get the citation from Python like so:

```python
from taurex import __citations__
print(__citations__)
print(gg.nice_citation())
```

Which gives:
```
TauREx III: A fast, dynamic and extendable framework for retrievals
Al-Refaie, Ahmed F., Changeat, Quentin, Waldmann, Ingo P., Tinetti, Giovanna
arXiv, 1912.07759, 2019

Equilibrium chemistry down to 100 K - Impact of silicates and phyllosilicates on the carbon to oxygen ratio
Woitke, P., Helling, Ch., Hunter, G. H., Millard, J. D., Turner, G. E., Worters, M., Blecic, J., Stock, J. W.
A&A, 614, A1, 2018
```

You can also generate bibtex from the input file like so:
```bash
taurex -i myinput.par --bibtex mybib.bib
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "taurex-ggchem",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "\"Ahmed F. Al-Refaie\" <ahmed.al-refaie.12@ucl.ac.uk>",
    "keywords": "taurex, taurex3, exoplanet, exoplanets, transmission, spectroscopy, atmospheres, atmosphere, chemistry, equilibrium-chemistry, chemistry-solver, chemistry-equilibrium, chemistry-equilibrium-solver, fortran",
    "author": null,
    "author_email": "\"Ahmed F. Al-Refaie\" <ahmed.al-refaie.12@ucl.ac.uk>",
    "download_url": "https://files.pythonhosted.org/packages/13/56/16caa3644725f0dc10cb32d979b7781de5efa41d2df53571d493a465fe09/taurex_ggchem-1.0.5.tar.gz",
    "platform": null,
    "description": "# GGchem\n\n(c) Peter Woitke & Christiane Helling 2017\n\nFast thermo-chemical equilibrium code with or without equilibrium\ncondensation down to 100K.\n\nPlease cite our A&A paper \"Equilibrium chemistry down to 100 K. \nImpact of silicates and phyllosilicates on carbon/oxygen ratio\"; \nP. Woitke, Ch. Helling, G. H. Hunter, J. D. Millard, \nG. E. Turner, M. Worters, J. Blecic, J. W. Stock; \n2018; Astronomy & Astrophysics 614, 1; \nsee GGchemPaper.pdf in this folder. \n\nWe would be interested to hear from you about what kind of applications\nyou would like to use ggchem for, please let us know via email\nPeter Woitke (pw31@st-and.ac.uk) \nas well as if you have any questions or problems. \n\nIf your research results in any publications, please cite the above\narticle and consider to give us co-author-ship.\n\n### To checkout the git repository and compile the code, use \n\n> git clone https://github.com/pw31/GGchem  \n> cd GGchem/src16  \n> cp makefile.prodimo makefile  \n> make  \n\nThe makefile.prodimo is for ifort compiler, adjust your own makefile if\nyou want to compile e.g. with gfortran.\n\n### To run the code, type \n\n> cd ..  \n> ./ggchem input/default.in\n\nIt will create the output file \"Static_Conc.dat\", which contains all\ncomputed molecular, atom and ion particle densities, the electron\ndensity, solid and liquid particle densities, and supersaturation\nratios:\n\n  * Tg: gas temperature [K],  \n  * nHtot: total hydrogen nuclei particle density [cm-3],  \n  * pges: total gas pressure [dyn/cm2]  \n  * el ... W: atomic particle densities log10(natom)[cm-3]  \n  * {mol}: molecular particle densities log10(nmol)[cm-3]  \n  * S{cond}: supersaturation ratios log10(S) [-] of condensates  \n  * n{cond}: concentration of condensed units per H nuclues log10(ncond/nHtot) [-]  \n  * eps{el}: remainig element abundances in the gas phase [-]  \n  * dust/gas: dust to gas mass ratio log10(rho_dust/rho_gas) [-]  \n  * dustVol/H: dust volume per H nucleus log10(dust_volume) [cm3]  \n\nS{cond} and n{cond} are used in the header to distinguish between \nsupersaturation ratio and concentration of condensed units, whereas\n{mol} (without the leading \"n\") is a molecular particle density.\n\n### To visualise the results, use e.g.\n\n> python tools/Plot_T.py  \n> evince ggchem.pdf &  \n\n### Customise your own model\n\nTo create your own model, make a copy of default.in and customize it to \ntell GGchem what it should do. You can also look at some of the other *.in \nfiles to lean from examples. Select or deselect elements by modifying \nthe first line, default choice is\n\n H He C N O Na Mg Si Fe Al Ca Ti S Cl K Li F P V Cr Mn Ni Zr W el\n\nwhere \"el\" means to include atomic and molecular ions, and the\nelectron density as well, assuming charge equilibrium.  Molecules are\nincluded if they are made of the selected elements, otherwise they\nwill be ignored.\n\nChoose element abundances with parameter abund_pick. The default\nchoice is abund_pick=3 for solar abundances from Asplund et\nal.(2009). There are additional pre-installed options to use data from\n\"Abundances.dat\", including \"EarthCrust\" (abund_pick=1), \"Ocean\"\n(abund_pick=2) and \"Meteorites\" (abund_pick=4) as listed in\n\"Abundances.dat\".  If you want any other element abundances, use\n(abund_pick=0) followed by a name of a custom file with abundances,\nsee, e.g. input/model_Crich.in.\n\nChoose sources for equilibrium constants kp(T)-data, default choice is \ndispol_new.dat. There are 6 different fit-formulas implemented, see\ndetails in src16/smchem16.f (function gk). Data files having kp-data\nare in folder data:\n\ndispol_StockKitzmann.dat               : 2008, Diplomarbeit TU Berlin  \ndispol_StockKitzmann_withoutTsuji.dat  : same, without Tsuji refits  \ndispol_BarklemCollet.dat               : 2016, A&A 588, A96  \ndispol_SharpHuebner.dat                : 1990, ApJSS 72, 417  \ndispol_Tsuji.dat                       : 1973, A&A 23, 411  \ndispol_GGchem.dat                      : old NIST-Janaf fits  \ndispol_fast.dat                        : 9-molecules from Heng&Tsai 2016  \n\nYou can use combinations by setting dispol_file, dispol_file2, \ndispol_file3, dispol_file4 in your MyModel.in file, in which case \nthe latter have preference over the former, and will overwrite \nprevious data.\n\nChoose whether you want to constrain the pressure (model_pconst=.true.)\nor the mass density (model_pconst=.false.).\n\nYou can run single point model (model_dim=0), linear track\n(model_dim=1) or 2D coverage (model_dim=2). Set parameters Tmin, Tmax\nand then pmax, pmin or nHmax, nHmin for model_pconst=.true. or\n.false., respectively. In the default model_dim=1 mode, ggchem will\nmake a linear track in (logp, logT) parameter space with Npoints\npoints.\n\nIf you want to switch on equilibrium condensation, set\nmodel_eqcond=.true. In that mode, the code will be much slower, and\nalso possibly unstable. Always start from large T and then lower T\nSLOWLY with successive calls. The code will create and expand\n\"database.dat\" automatically from the results of every successful\ncall, such that once you have filled in the (p,T)-plane with many\npoints, the results will be faster and more reliable. The Gibbs-free\nenergy data files are in folder data:\n\nDustChem_GGchem.dat      : old GGchem NIST-Janaf fits  \nDustChem_SUPCRTBL.dat    : dG-fits from the SUPCRTBL database  \n      (Zimmer et al. 2016, Computers and Geosciences, 90, 97)  \nDustChem.dat             : currently used collection from both  \n\nThe pure gas phase chemistry needs about 0.4 ms per call for T > 1000 K\n(real*8 version) and about 3 ms per call for T < 1000 K (real*16\nversion). These time measurements are for 16 elements + charge. Time\nrequirement roughly scale as N^3, if N is the number of elements.\nThe equilibrium condensation code requires many calls of the gas-phase\nequilibrium chemistry routine, and takes about 0.02-0.09 sec per call,\ndepending on how much useful information is found in database.dat.\n \n# TauREx-GGchem plugin\n\nA Python wrapper built using the [TauREx](https://github.com/ucl-exoplanets/TauREx3_public) is available.\nThe wrapper also installs all available datafiles included with GGchem\n\n## Installation\n\n\nYou can install one of the prebuilt binary wheels for Windows, macOS and manylinux through pip:\n```bash\npip install taurex_ggchem\n```\n\n### Installing from source\n\n\nTo install from source a valid C/C++ and FORTRAN compiler must be present. You can compile it by doing:\n```bash\ngit clone https://github.com/ucl-exoplanets/GGchem.git\ncd GGchem\npip install .\n```\n\n## Running in TauREx\n\nOnce installed you can select the chemical model through the **chemistry_type** keyword under\nChemistry.\n```\n[Chemistry]\nchemistry_type = ggchem\nmetallicity = 1.0\nselected_elements = H, He, C, N, O, Ti, V, S, K\nratio_elements = C, N, Ti\nratios_to_O = 0.5,0.001, 1e-4\nequilibrium_condensation = True\n\n[Fitting]\nTi_O_ratio:fit = True\nTi_O_ratio:prior = \"LogUniform(bounds=(-6,2))\"\nS_O_ratio:fit = True\nS_O_ratio:prior = \"LogUniform(bounds=(-6,2))\"\nmetallicity:fit = True\nmetallicity:prior = \"LogUniform(bounds=(-6,2))\"\n```\n\n### Input arguments:\n\n|Argument| Description| Type| Default | Required |\n---------|------------|-----|---------|----------|\ndispol_files| Path to thermochemical data | list of strings | Built-in (BarklemCollet,StockKitzmann_withoutTsuji, WoitkeRefit ) | |\nabundance_profile| Initial abundance profile. Either *solar*, *meteor*, *ocean* or *earth*  | string | 'solar' | |\nselected_elements| List of elements to include | list of string | All elements in GGchem | |\nratio_elements| List of elements to set the ratio | list of string | | |\nratios_to_O| ratio of each 'ratio_element' relative to oxygen | array | | |\nhe_h_ratio| He/H ratio | float | 0.083 | |\nmetallicity| Metallicity relative to initial abundance | float | 1.0 | |\ninclude_charge| Include ions | bool | False | |\nequilibrium_condensation| Include condenstation | bool | False | |\ndustchem_file| Dust chemistry file | string | Built-in (DustChem.dat) | |\nTfast| Lowest temperature (K) to use faster method  | float | 1000 | |\nnew_back_it| | integer | 6 | |\nnew_back_fac| | float | 1e5 | |\nnew_pre_method| | integer | 2 | |\nnew_full_it| | bool | False | |\nnew_fast_level| | integer | 1 | |\n\n### Retrieval Parameters:\n\n|Fitting Parameter| Description| \n---------|------------|\nmetallicity|Metallicity relative to solar|\n\nThe wrapper will generate oxygen retrieval parameters for all metallic elements within the\nchemical model. If Ti is present (either by default or specifing in **selected_elements**)\nthen a **Ti_O_ratio** retrieval parameter will be available.\nUsing the default **selected_parameters** will give access to:\n\n|Fitting Parameter| Description| \n---------|------------|\nC_O_ratio | C/O ratio |\nN_O_ratio | N/O ratio |\nNa_O_ratio | Na/O ratio |\nMg_O_ratio | Mg/O ratio |\nSi_O_ratio | Si/O ratio |\nFe_O_ratio | Fe/O ratio |\nAl_O_ratio | Al/O ratio |\nCa_O_ratio | Ca/O ratio |\nTi_O_ratio | Ti/O ratio |\nS_O_ratio | S/O ratio |\nCl_O_ratio | Cl/O ratio |\nK_O_ratio | K/O ratio |\nLi_O_ratio | Li/O ratio |\nF_O_ratio | F/O ratio |\nP_O_ratio | P/O ratio |\nV_O_ratio | V/O ratio |\nCr_O_ratio | Cr/O ratio |\nMn_O_ratio | Mn/O ratio |\nNi_O_ratio | Ni/O ratio |\nZr_O_ratio | Zr/O ratio |\nW_O_ratio | W/O ratio |\n\n\n## Running in Python\n\nYou can import the chemistry scheme in Python pretty easily\n\n```python\n>>> from taurex_ggchem import GGChem\n>>> gg = GGChem(metallicity=1.0,  \n         selected_elements=['H','He','C','O','N','K'], \n         abundance_profile='earthcrust', \n         equilibrium_condensation=True) \n```\nYou can either pass it into a TauREx forward model like so:\n```python\n>>> tm = TransmissionModel(chemistry=gg)\n```\nOr use it independently to compute volume mixing ratios for gas-phase and condensates by passing in\ntemperature and pressure ( Pascal ) arrays:\n```python\n>>> nlayers = 100\n>>> T = numpy.linspace(400,1000,nlayers)\n>>> P = numpy.logspace(1,5, nlayers)\n>>> gg.initialize_chemistry(nlayers=nlayers, temperature_profile=T, pressure_profile=P)\n>>> gg.gases\n['H', 'He', 'C', 'O', 'N',..., 'N3', 'O3', 'C3H']\n>>> gg.mixProfile\narray([[4.75989782e-04, 4.93144149e-04, 5.10561665e-04, ...,\n        2.89575385e-05, 2.47386006e-05, 2.10241059e-05],\n       ...,\n       [2.49670621e-16, 1.44224904e-16, 8.29805526e-17, ...,\n        9.48249338e-42, 4.75884162e-42, 2.37999459e-42]])\n>>> gg.condensates\n['C[s]', 'H2O[s]', 'H2O[l]', 'NH3[s]', 'CH4[s]', 'CO[s]', 'CO2[s]']\n>>> gg.condensateMixProfile\narray([[0.00000000e+00, 0.00000000e+00, 0.00000000e+00,...,\n        0.00000000e+00, 0.00000000e+00],\n       [0.00000000e+00, 0.00000000e+00, 0.00000000e+00, ...,\n        0.00000000e+00, 9.82922802e-10, 1.88551848e-10, 2.88471985e-11,\n        4.40651877e-12, 6.95597887e-13],\n        ...,\n        [0.00000000e+00, 0.00000000e+00, 0.00000000e+00, ...,\n        0.00000000e+00, 0.00000000e+00]])\n```\n\n## Bibliography\n\nIf you use the plugin please cite the relevant articles. TauREx will output\nit at program end. You can get the citation from Python like so:\n\n```python\nfrom taurex import __citations__\nprint(__citations__)\nprint(gg.nice_citation())\n```\n\nWhich gives:\n```\nTauREx III: A fast, dynamic and extendable framework for retrievals\nAl-Refaie, Ahmed F., Changeat, Quentin, Waldmann, Ingo P., Tinetti, Giovanna\narXiv, 1912.07759, 2019\n\nEquilibrium chemistry down to 100 K - Impact of silicates and phyllosilicates on the carbon to oxygen ratio\nWoitke, P., Helling, Ch., Hunter, G. H., Millard, J. D., Turner, G. E., Worters, M., Blecic, J., Stock, J. W.\nA&A, 614, A1, 2018\n```\n\nYou can also generate bibtex from the input file like so:\n```bash\ntaurex -i myinput.par --bibtex mybib.bib\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Taurex Python wrapper for the FORTRAN GGChem code.",
    "version": "1.0.5",
    "project_urls": {
        "source": "https://github.com/ucl-exoplanets/GGchem"
    },
    "split_keywords": [
        "taurex",
        " taurex3",
        " exoplanet",
        " exoplanets",
        " transmission",
        " spectroscopy",
        " atmospheres",
        " atmosphere",
        " chemistry",
        " equilibrium-chemistry",
        " chemistry-solver",
        " chemistry-equilibrium",
        " chemistry-equilibrium-solver",
        " fortran"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c87ad00bf47751e3ccc88fb9b10fdb334af1075b41b89d86dd10e0c637a8137e",
                "md5": "cd687e2c1eade28795e14e73e7bf15f4",
                "sha256": "e01ae3555c7e0f9afb407288d6b905d31be0070108f8882bc503adfd88dfb513"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp310-cp310-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "cd687e2c1eade28795e14e73e7bf15f4",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 4595775,
            "upload_time": "2024-11-02T22:40:41",
            "upload_time_iso_8601": "2024-11-02T22:40:41.799897Z",
            "url": "https://files.pythonhosted.org/packages/c8/7a/d00bf47751e3ccc88fb9b10fdb334af1075b41b89d86dd10e0c637a8137e/taurex_ggchem-1.0.5-cp310-cp310-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c56b6e49ad2dbcc33020b19d65cfe6f3dbd533d297798b00a5df7478000e524c",
                "md5": "6587984a959861746b61f309ef82b402",
                "sha256": "76feae3fd83148e6520dc129d64e0a3d9567bc0c48745c650581aa595af6d8c6"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp310-cp310-macosx_12_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "6587984a959861746b61f309ef82b402",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 3066750,
            "upload_time": "2024-11-02T22:40:44",
            "upload_time_iso_8601": "2024-11-02T22:40:44.221296Z",
            "url": "https://files.pythonhosted.org/packages/c5/6b/6e49ad2dbcc33020b19d65cfe6f3dbd533d297798b00a5df7478000e524c/taurex_ggchem-1.0.5-cp310-cp310-macosx_12_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9db334d8d2d680678b9de7e5062391e672c4c8752dc05034d1e26d419f2d574b",
                "md5": "cd61faf0354b3fff7e817bfe3ea846fa",
                "sha256": "b2f9cff9efeafa7a9591aa7ab2531c76b4556adb01fb647b93e82f68f3e15736"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "cd61faf0354b3fff7e817bfe3ea846fa",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 3339085,
            "upload_time": "2024-11-02T22:40:45",
            "upload_time_iso_8601": "2024-11-02T22:40:45.904376Z",
            "url": "https://files.pythonhosted.org/packages/9d/b3/34d8d2d680678b9de7e5062391e672c4c8752dc05034d1e26d419f2d574b/taurex_ggchem-1.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e9802cd8e8cda4e32fabfa4dc60b80a3b9397612db134527e3e2f16ba2aa5bc3",
                "md5": "01d7f7ed100bce8e6afb4691a7db638b",
                "sha256": "c52b41cb77556c3545b6b46c0437deaf04199ddb61b1f9ba67cea5e9e07eb920"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "01d7f7ed100bce8e6afb4691a7db638b",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 2719304,
            "upload_time": "2024-11-02T22:40:47",
            "upload_time_iso_8601": "2024-11-02T22:40:47.776545Z",
            "url": "https://files.pythonhosted.org/packages/e9/80/2cd8e8cda4e32fabfa4dc60b80a3b9397612db134527e3e2f16ba2aa5bc3/taurex_ggchem-1.0.5-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0ce4650ce2f1d5a08c57e3d58cfb49001797fa827c9295fc1831177399dfe0b",
                "md5": "b89badffbb2a75e516055215d184e868",
                "sha256": "e2f98c69d3f15a1aed326c6df1c69235826a934a9aa023f2603cd1b1eb9ee786"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp311-cp311-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "b89badffbb2a75e516055215d184e868",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 4595778,
            "upload_time": "2024-11-02T22:40:49",
            "upload_time_iso_8601": "2024-11-02T22:40:49.826426Z",
            "url": "https://files.pythonhosted.org/packages/d0/ce/4650ce2f1d5a08c57e3d58cfb49001797fa827c9295fc1831177399dfe0b/taurex_ggchem-1.0.5-cp311-cp311-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0da6f305a8dc73cd332b41b5e4b125e2824dba900163e49906cb2311873430a6",
                "md5": "f462834181dfad5a52e1a2b7f9424426",
                "sha256": "68a8050c021bd96b5385086b2fd66aa9290aa09f41bcaaa7fed6d2ade8cd548a"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp311-cp311-macosx_12_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "f462834181dfad5a52e1a2b7f9424426",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 3066747,
            "upload_time": "2024-11-02T22:40:51",
            "upload_time_iso_8601": "2024-11-02T22:40:51.598534Z",
            "url": "https://files.pythonhosted.org/packages/0d/a6/f305a8dc73cd332b41b5e4b125e2824dba900163e49906cb2311873430a6/taurex_ggchem-1.0.5-cp311-cp311-macosx_12_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ce5909b73fe30c33961f4955f554583304ad1ed36cf576561c867673dce3e0b2",
                "md5": "be2c06e30ea731891533e36e278bd3da",
                "sha256": "47840c3488dafe8352d6481efd9cdcadec84925dd011bbc8357c389ef8a1d470"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "be2c06e30ea731891533e36e278bd3da",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 3339097,
            "upload_time": "2024-11-02T22:40:52",
            "upload_time_iso_8601": "2024-11-02T22:40:52.874076Z",
            "url": "https://files.pythonhosted.org/packages/ce/59/09b73fe30c33961f4955f554583304ad1ed36cf576561c867673dce3e0b2/taurex_ggchem-1.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "459c6f9ecf1ec3f2c3840ff0ab9ae6e7d7908a0d9fb67bebabc0bf033fc9b8b5",
                "md5": "c388a7a034c0d60af826595db4935c72",
                "sha256": "c4e70047ff3cb315ec14022c8eda22ebede9d0ad36a85e9299857936d2daa2f7"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "c388a7a034c0d60af826595db4935c72",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 2719257,
            "upload_time": "2024-11-02T22:40:54",
            "upload_time_iso_8601": "2024-11-02T22:40:54.698372Z",
            "url": "https://files.pythonhosted.org/packages/45/9c/6f9ecf1ec3f2c3840ff0ab9ae6e7d7908a0d9fb67bebabc0bf033fc9b8b5/taurex_ggchem-1.0.5-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "df86d49b0e7f511a102533fe4a508e28450a773e76a909cc607efabae5ae80f1",
                "md5": "3abb2170e946daabe40c0b2f4ec1bd8f",
                "sha256": "34279d87d11591ac31e7292242334038c7225567cc3d69c4ba7e52b23fca4605"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp312-cp312-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "3abb2170e946daabe40c0b2f4ec1bd8f",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 4595970,
            "upload_time": "2024-11-02T22:40:56",
            "upload_time_iso_8601": "2024-11-02T22:40:56.531993Z",
            "url": "https://files.pythonhosted.org/packages/df/86/d49b0e7f511a102533fe4a508e28450a773e76a909cc607efabae5ae80f1/taurex_ggchem-1.0.5-cp312-cp312-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8e9bd0ed10cee2da8af1b2889bfb1fb62629e55705b960993fb37c7722d8c270",
                "md5": "16073f7f97c7064c0e98df9d50136da3",
                "sha256": "bc1329395e8d76d9720b5b47d06e8b639bc406c9b8a97bd01490808c29ebac8e"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp312-cp312-macosx_12_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "16073f7f97c7064c0e98df9d50136da3",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 3066916,
            "upload_time": "2024-11-02T22:40:58",
            "upload_time_iso_8601": "2024-11-02T22:40:58.019801Z",
            "url": "https://files.pythonhosted.org/packages/8e/9b/d0ed10cee2da8af1b2889bfb1fb62629e55705b960993fb37c7722d8c270/taurex_ggchem-1.0.5-cp312-cp312-macosx_12_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1c5d613900e88e54fdca4702d29823a96c68d761dfe174625880edcb12e24851",
                "md5": "999e418b5cbc852205dd8ae5523c7996",
                "sha256": "46ad0a90c46d944c974f48f608f59fcbfa621a0fd8c2e2cb6190f706a2681505"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "999e418b5cbc852205dd8ae5523c7996",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 3339300,
            "upload_time": "2024-11-02T22:41:00",
            "upload_time_iso_8601": "2024-11-02T22:41:00.038883Z",
            "url": "https://files.pythonhosted.org/packages/1c/5d/613900e88e54fdca4702d29823a96c68d761dfe174625880edcb12e24851/taurex_ggchem-1.0.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "80ecc76074b96036683162d82a2cbcb6a1d7165888c53d7317b53dd918b38a22",
                "md5": "2abe55279e296ed63536021a69144a5f",
                "sha256": "268e952b4b099e0c9b5333211de66c8db5d6ff74cec10678e47d65c663c293db"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "2abe55279e296ed63536021a69144a5f",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 2719522,
            "upload_time": "2024-11-02T22:41:02",
            "upload_time_iso_8601": "2024-11-02T22:41:02.269918Z",
            "url": "https://files.pythonhosted.org/packages/80/ec/c76074b96036683162d82a2cbcb6a1d7165888c53d7317b53dd918b38a22/taurex_ggchem-1.0.5-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a8e91ffa91f8dbbea79d362e972fd0a7dd0ce8fc1ed5a5e1b5abd2affbcc1667",
                "md5": "d387471ab60d1cd5b40f187ab4b12235",
                "sha256": "48b76cfbbd252f77076534f2111e4b57b79e6ad037e044349a572f941d3376c3"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp39-cp39-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "d387471ab60d1cd5b40f187ab4b12235",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 4595769,
            "upload_time": "2024-11-02T22:41:03",
            "upload_time_iso_8601": "2024-11-02T22:41:03.583894Z",
            "url": "https://files.pythonhosted.org/packages/a8/e9/1ffa91f8dbbea79d362e972fd0a7dd0ce8fc1ed5a5e1b5abd2affbcc1667/taurex_ggchem-1.0.5-cp39-cp39-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "00f48ff35230d1cf597f86389177ad59be2ac81ee9bb3cab876cec0aeeaff55e",
                "md5": "7f8cccfdc25f1bb1b39d04ef9b626882",
                "sha256": "d0940ee98e52c30693a1f6529fe359e6566f72df409e228a4745c2329d22dc93"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp39-cp39-macosx_12_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "7f8cccfdc25f1bb1b39d04ef9b626882",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 3066746,
            "upload_time": "2024-11-02T22:41:05",
            "upload_time_iso_8601": "2024-11-02T22:41:05.418712Z",
            "url": "https://files.pythonhosted.org/packages/00/f4/8ff35230d1cf597f86389177ad59be2ac81ee9bb3cab876cec0aeeaff55e/taurex_ggchem-1.0.5-cp39-cp39-macosx_12_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "69a3a7f4f36252e7def00ba54340b350f6a50a9465b0f9e49d7a74d29c5e9694",
                "md5": "c40ad06c5831d7a10f93176c42cab851",
                "sha256": "a4b1489909c44de56257c0b08fd42128d082650fcbc448120fab900bfcad24be"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c40ad06c5831d7a10f93176c42cab851",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 3339093,
            "upload_time": "2024-11-02T22:41:07",
            "upload_time_iso_8601": "2024-11-02T22:41:07.433562Z",
            "url": "https://files.pythonhosted.org/packages/69/a3/a7f4f36252e7def00ba54340b350f6a50a9465b0f9e49d7a74d29c5e9694/taurex_ggchem-1.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "19035c5f7d42ce9f88bb2259f5ac523e59ad8fe9f3a2ee61211c146457f2d66c",
                "md5": "33d0288d580f11c0e2e074e58355619b",
                "sha256": "82fc88734a955e8d08e118bf470500d10cad3dff226eff9361080e6938e22a9d"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "33d0288d580f11c0e2e074e58355619b",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 2719306,
            "upload_time": "2024-11-02T22:41:08",
            "upload_time_iso_8601": "2024-11-02T22:41:08.802300Z",
            "url": "https://files.pythonhosted.org/packages/19/03/5c5f7d42ce9f88bb2259f5ac523e59ad8fe9f3a2ee61211c146457f2d66c/taurex_ggchem-1.0.5-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "135616caa3644725f0dc10cb32d979b7781de5efa41d2df53571d493a465fe09",
                "md5": "d3632cb13bebd0d46202b6793cda9b78",
                "sha256": "cddb86f087e740a6194e001bd4fcf2fece8be59ff9970e8df877754ba8cd5590"
            },
            "downloads": -1,
            "filename": "taurex_ggchem-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "d3632cb13bebd0d46202b6793cda9b78",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 79165464,
            "upload_time": "2024-11-02T22:41:11",
            "upload_time_iso_8601": "2024-11-02T22:41:11.186487Z",
            "url": "https://files.pythonhosted.org/packages/13/56/16caa3644725f0dc10cb32d979b7781de5efa41d2df53571d493a465fe09/taurex_ggchem-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-02 22:41:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ucl-exoplanets",
    "github_project": "GGchem",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "taurex-ggchem"
}
        
Elapsed time: 0.46926s