This release is a pre-release and may not be stable for production use.
TauREx-ACE plugin
Python wrapper built using the TauREx framework for the FORTRAN equilibrium chemistry code developed by Agúndez et al. 2012.
Installation
You can install one of the prebuilt binary wheels for Windows, macOS and manylinux through pip:
pip install taurex_ace
Installing from source
To install from source a valid C/C++ and FORTRAN compiler must be present. You can compile it by doing:
git clone https://github.com/ucl-exoplanets/taurex_ace.git
cd taurex_ace
pip install .
Running in TauREx
Once installed you can select the chemical model through the chemistry_type keyword under Chemistry.
[Chemistry]
chemistry_type = ace
metallicity = 1.0
co_ratio = 0.5
Input arguments:
| Argument | Description | Type | Default | Required |
|---|---|---|---|---|
| metallicity | Metallicity relative to solar | float | 1.0 (Solar) | |
| co_ratio | C/O ratio | float | 0.5 | |
| therm_file | Path to thermalchemical data | string | Built-in | |
| spec_file | Path to species | string | Built-in | |
| ace_He_solar | Initial abundance for He in dex | float | 10.93 | |
| ace_C_solar | Initial abundance for C in dex | float | 8.39 | |
| ace_O_solar | Initial abundance for O in dex | float | 8.73 | |
| ace_N_solar | Initial abundance for N in dex | float | 7.86 |
Retrieval Parameters:
| Fitting Parameter | Description |
|---|---|
| metallicity | Metallicity relative to solar |
| C_O_ratio | C/O ratio |
Running in Python
You can import the chemistry scheme in Python pretty easily
>>> from taurex_ace import ACEChemistry
>>> ace = ACEChemistry(metallicity=1.0, co_ratio=0.5)
You can either pass it into a TauREx forward model like so:
>>> tm = TransmissionModel(chemistry=ace)
Or use it independently to compute volume mixing ratios by passing in temperature and pressure ( Pascal ) arrays:
>>> nlayers = 100
>>> T = numpy.linspace(400,1000,nlayers)
>>> P = numpy.logspace(1,5, nlayers)
>>> ace.initialize_chemistry(nlayers=nlayers, temperature_profile=T, pressure_profile=P)
>>> ace.gases
['CH3COOOH', 'C4H9O', 'C3H7O', ..., 'HNC', 'HON', 'NCN']
>>> ace.mixProfile
array([[6.49723780e-80, 6.79239790e-79, 6.61822622e-78, ...,
8.00944782e-41, 1.11751339e-40, 1.55179784e-40],
[7.10900373e-76, 4.67226720e-75, 2.90530077e-74, ...,
1.03852971e-43, 1.39343534e-43, 1.86266570e-43],
[1.13921670e-64, 5.82452085e-64, 2.83707624e-63, ...,
4.26299477e-37, 5.44908156e-37, 6.94256769e-37],
...,
[3.29247294e-31, 1.02824750e-30, 3.09872209e-30, ...,
1.82127852e-13, 2.05020932e-13, 2.30210836e-13],
[4.53205427e-71, 4.23173486e-70, 3.69942916e-69, ...,
2.31456323e-32, 3.35359173e-32, 4.83724134e-32],
[8.04632748e-67, 7.90155245e-66, 7.23887996e-65, ...,
3.68586537e-29, 5.02545448e-29, 6.81862528e-29]])
Metadata
Release files for taurex-ace 1.0.2.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 12.8 MB
Release files / taurex_ace-1.0.2.dev0-cp39-cp39-win_amd64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 507.3 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4d997f4b25c04fae69adeae3e606c7b0f04e8149c2e4f7ecf28dcbd6263987f8
|
|
BLAKE2b-256 checksum How to use checksums |
aa660f98df19df38e16c7066d5c3f919a91ab5f182c6a0455f80ec90f785712d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp39-cp39-manylinux2010_i686.whl
| Download URL | taurex_ace-1.0.2.dev0-cp39-cp39-manylinux2010_i686.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
5264675505ca3a27bbb307898e3f35e06a97b2ea446623fe9678dde6818c17bd
|
|
BLAKE2b-256 checksum How to use checksums |
63eb939b1e8a4079f855d9c8b32b3e2483279e18feda68e14c4448c3ec391123
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp39-cp39-manylinux1_x86_64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp39-cp39-manylinux1_x86_64.whl |
|---|---|
| Size | 506.6 kB |
| Tags | CPython 3.9 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
19ed73776b6731f7366b880e422698ac227ef10fc7e728741664d03bd07f3209
|
|
BLAKE2b-256 checksum How to use checksums |
71f985a5b78bdee1e312bd78077a10b78cfd2eb85880a3493433af6bd82c2868
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 470.1 kB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
de3fa0addca02737934606ceb427573b4f12c91b203213caf59d6f8aab401e15
|
|
BLAKE2b-256 checksum How to use checksums |
a8658090625605dd9a48e9b69f8e4bb333ae1ec9a09e9512b66612df6c3e686f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp38-cp38-win_amd64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 505.1 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
46364160f605259cc50d36d9bcff794c3a84e8539db2833d096ec25a1396cf3f
|
|
BLAKE2b-256 checksum How to use checksums |
d9030a3b25ef87285e49cd4c578704ddc294fbb5a70aee0012311b547df88c7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp38-cp38-manylinux2010_i686.whl
| Download URL | taurex_ace-1.0.2.dev0-cp38-cp38-manylinux2010_i686.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
89c8f7dade001eac1f98fc083b51bd9858fc9088c3f0ed8c3e202b568525b485
|
|
BLAKE2b-256 checksum How to use checksums |
e68a2d1c7f06de0d0cfdde2252e8823fb9b125d53c9196f5fbc4a40ab096b246
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp38-cp38-manylinux1_x86_64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp38-cp38-manylinux1_x86_64.whl |
|---|---|
| Size | 505.4 kB |
| Tags | CPython 3.8 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
41bee20d9ec802a38aa67249f1b45d23d725f71fccbafa67e9b7d1db1acbac76
|
|
BLAKE2b-256 checksum How to use checksums |
038775920b47e24e9df3f5be068f51dab18ea6f84a75030f8b2efcfc35879585
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp38-cp38-macosx_10_9_x86_64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp38-cp38-macosx_10_9_x86_64.whl |
|---|---|
| Size | 469.6 kB |
| Tags | CPython 3.8 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
b600fa929f295d65cec720ffa24868a877f3f96444f4851edbdc8ef51c44a54d
|
|
BLAKE2b-256 checksum How to use checksums |
d2676bf7be4a8a8ef9981493fa7acd69d29a269f762de06a5da70c918873cceb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp37-cp37m-win_amd64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 504.1 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2d65b9ad41206f3a02c1212b373ae9f45d592f23650b9c481aeb9d0198bffe4e
|
|
BLAKE2b-256 checksum How to use checksums |
b58f6e7327cb7ef1e7e36bfe0f4b80f5f519f49ffe74319ca119ea4606dff482
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp37-cp37m-manylinux2010_i686.whl
| Download URL | taurex_ace-1.0.2.dev0-cp37-cp37m-manylinux2010_i686.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
1e1d095f0d80a2984cf0edda5b9228c95d3a0d43ea8c8fa36dbfa89eb6750ae6
|
|
BLAKE2b-256 checksum How to use checksums |
d0543261686fe9d150155544ec0467b194be45276e648e971d927eca80aeaf5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp37-cp37m-manylinux1_x86_64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp37-cp37m-manylinux1_x86_64.whl |
|---|---|
| Size | 505.2 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
af8228c0200a2fb1e593a023d8f32f969c6dafc32f24d64d83dd07e4e97721aa
|
|
BLAKE2b-256 checksum How to use checksums |
aa0b1fc7eb4d2c2df5e92508581193e985af93ad3c9435f25f3df0c443ed8a7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp37-cp37m-macosx_10_9_x86_64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp37-cp37m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 469.4 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
1ad95620c7f0701a2c550d5a4e792d2e746559e6408b81d168fe26b62bcc0a59
|
|
BLAKE2b-256 checksum How to use checksums |
54efbb86daa886f894b204bfaee8023b2b22085a03e56bdf6fa44b340c646098
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp36-cp36m-win_amd64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 463.2 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
405848168ef9f22bcafa4617fe7e44805d4c759fbf79b5a36675f3d11436dc76
|
|
BLAKE2b-256 checksum How to use checksums |
143a38d7cfb47ec8a5ff6ff505ff6461c1196d0a4d18704081374ceff20a1cbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp36-cp36m-manylinux2010_i686.whl
| Download URL | taurex_ace-1.0.2.dev0-cp36-cp36m-manylinux2010_i686.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
036a7785482587f58f107381ba2c053d98e631f769913f7e026b5964a1a8b9b9
|
|
BLAKE2b-256 checksum How to use checksums |
45aab316c5dc3c19108a020b5f3f4c7691a34665acce00b345dee41c2461de1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp36-cp36m-manylinux1_x86_64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp36-cp36m-manylinux1_x86_64.whl |
|---|---|
| Size | 503.7 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
6af86cf66ac19f24dd7f1c07620a8f9b450771d8a854d816b6c1100bb1a96f43
|
|
BLAKE2b-256 checksum How to use checksums |
f334dc5bd7975c5e2028a3bd9c8605835833d78d0cc43d39b56148190fffe5dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp36-cp36m-macosx_10_9_x86_64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp36-cp36m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 469.3 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
be39e3c4daf89721f2a4fff9a6e393a34bbb6878c1f8d942fcb8ea466d9f45b7
|
|
BLAKE2b-256 checksum How to use checksums |
15d26ba84158f5f92cd9b8ece51496d0f98afdcdf8c2b70a4506e0cbef1918ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp35-cp35m-win_amd64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp35-cp35m-win_amd64.whl |
|---|---|
| Size | 462.6 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d283dae8fc4484a3b5861e9332d9fde9aeb98f46a391c3e8a4bea317f37037e9
|
|
BLAKE2b-256 checksum How to use checksums |
8e6f4da08315c2943b9d528cc7d8d54e78895591555247911dfd88e92df01d00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp35-cp35m-manylinux2010_i686.whl
| Download URL | taurex_ace-1.0.2.dev0-cp35-cp35m-manylinux2010_i686.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
990674a26fc97d146353b28630b14c5c71d0a36c7660ad9ce11fbc711a8ddaa4
|
|
BLAKE2b-256 checksum How to use checksums |
fd3f77429cd8fdac20aaa1ef9d68e7db745d5d37e7332f4f752e87d5e17c4c98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp35-cp35m-manylinux1_x86_64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp35-cp35m-manylinux1_x86_64.whl |
|---|---|
| Size | 503.4 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
11a436525cf01e36f9f175b6c83a0818d5de929f5f37675fb35b1be5a6576c01
|
|
BLAKE2b-256 checksum How to use checksums |
bd46c17f17197ae3d0b320aa250415f9d65378dbdd670b51e2c5891c15555d24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / taurex_ace-1.0.2.dev0-cp35-cp35m-macosx_10_9_x86_64.whl
| Download URL | taurex_ace-1.0.2.dev0-cp35-cp35m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 469.3 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
200c7ac9291516488fb357b81a8eb5b45a1312bb2b27b0ee762e0cf56eade976
|
|
BLAKE2b-256 checksum How to use checksums |
52841f7adc7679cf484a31a9e9df1f1a4a08365057c4931365bc2c97d0443c25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|