A TauREx plugin implementing Pre Computed Qext grids for cloud models
Project description
Faster clouds for TauREx 3
This plugin provides a new nethod to inclue aerosols in TauREx 3, extending the TauREx-PyMieScatt plugin. It significantly speeds up the cloud models by using precomputed extinction efficiency (Q_ext) grids. TauREx-PCQ also considerably improves the computation scaling with the number of clouds in the models. The speed-ups for single cloud retrievals are betwwen 1.4 and 2.7. Although, a single-cloud retrieval using Qext grids achieved a speed-up of 1.4, the same retrieval with four clouds became 17 times faster than the corresponding retrieval using direct Mie calculations.
The grids details and validation can be found in Voyer & Changeat (2026), if you use TauREx-PCQ or the grids please cite this paper. The species already available are Mg2SiO4, MgSiO3 (amorph sol-gel and amorph glass), SiO2 (alpha and amorph), SiO, the Titan tholins and water ice. They can be found at: 10.5281/zenodo.17456673 .
For any inquiries, please contact: mael.voyer@u-paris.fr
🔧 Features
-
✅ Compatible with
transitandemmsionmodels. -
✅ Works with any aerosol specie given that the user provides a
.h5file with : -
A
radius_griddataset with the particule sizes in microns ( lengtha). -
A
wavenumber_griddataset with the wavenumber at which theQ_extwere computed in cm-1 ( lengthb) -
A
Qext_griddataset with the computedQ_extfrom PyMieScat ( length (a,b) )
As an extension of TauREx-PyMieScatt, this pulgin includes the same capabilities
- ✅ Supports multiple particle size distributions:
normal(log-normal)budaj(2015)deirmendjian(1964)
- ✅ Multiple species and per-species fitting
- ✅ Particle decay with altitude (
exp_decaybased on Whitten 2008 / Atreya 2005) - ✅ Computes exctinction using the species optical constant via Effective Medium Theory (Bohren & Huffman 1983)
- ✅ Multiple fittable parameters for TauREx retrievals
🔧 Model Parameters
| Name | Description |
|---|---|
species |
Your name for the species included through the mie_species_path parameter. This name will be used as suffixes added to the other parameters to distinguish between included species. |
mie_species_path |
Paths to the Q_ext grids of the aerosols you want to include |
mie_particle_radius_distribution |
"normal", "budaj", or "deirmendjian" |
mie_particle_mean_radius |
Mean particle radius (µm) |
mie_particle_logstd_radius |
Log-normal std dev (for "normal" distribution) |
mie_particle_paramA/B/C/D |
Parameters for Deirmendjian distribution |
mie_particle_mix_ratio |
Number density (molecules/m³) |
mie_midP |
Pressure at cloud center (Pa) |
mie_rangeP |
Extend of the clouds in log scale around mie_midP. If mie_midP = 1e5 Pa and mie_rangeP = 1 then clouds extend from 1e6 to 1e4 Pa |
mie_particle_altitude_distrib |
Currently supports 'exp_decay' or 'linear' |
mie_particle_altitude_decay |
Decay exponent per species e.g -5 |
💡 Usage Example in a TauREx parameter file or 'parfile'
[Model]
model_type = transit
[[PyMieScattGridExtinction]]
species = SiO, Mg2SiO4_glass, custom_molecule
mie_species_path = path_to_SiO.h5 , path_to_Mg2SiO4_glass.h5 , path_to_custom_molecule.h5 #e.g. You can use the optical constant from Kitzmann and Heng 2018
mie_particle_radius_distribution = budaj
mie_particle_mean_radius = 0.1, 0.4 , 10
mie_midP = 1e5, 1e2, 1
mie_rangeP = 3 , 1 , 2
mie_particle_mix_ratio = 1e5, 1e8 , 10e3
mie_particle_radius_Nsampling = 5
mie_particle_altitude_distrib = linear
Limitations
As the Q_ext are computed for a range of radii between 1 nm and 30 microns, it is strongly recomended that the mie_particle_mean_radius prior does not extend beyond this range. Any radius outside of the range will use the Q_ext of the closest radius present in the grid.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file taurex_pcq-1.0.tar.gz.
File metadata
- Download URL: taurex_pcq-1.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1a52bf85d2c716881f6254943939074900c7b4adbaca44a2e3558a837327478
|
|
| MD5 |
1f354ec23097170ed5aa11a5dbdaf977
|
|
| BLAKE2b-256 |
c08d5023709b542d921e5394f6e11e290d28351ccd9f2505b30c9aed2cdb6397
|
File details
Details for the file taurex_pcq-1.0-py3-none-any.whl.
File metadata
- Download URL: taurex_pcq-1.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0ff7308db99b47a3b05d8158cc5e74b77023dbeaa2adcfe4f884081b97e3386
|
|
| MD5 |
66ff13c7ee1e39b828b36acc11a380f8
|
|
| BLAKE2b-256 |
10eebf301c72c9aba897c44400b271f774057aa1d39366edd6a209eefac3ee20
|