Skip to main content

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 transit and emmsion models.

  • ✅ Works with any aerosol specie given that the user provides a .h5 file with :

  • A radius_grid dataset with the particule sizes in microns ( length a ).

  • A wavenumber_grid dataset with the wavenumber at which the Q_ext were computed in cm-1 ( length b )

  • A Qext_grid dataset with the computed Q_ext from 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_decay based 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.

Metadata

Release files for taurex-pcq 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for taurex-pcq 1.0
File Size Uploaded Provenance Actions
taurex_pcq-1.0.tar.gz 10.9 kB Without provenance Details for taurex_pcq-1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for taurex-pcq 1.0
File Interpreter ABI Platform Actions
taurex_pcq-1.0-py3-none-any.whl Python 3 none any Details for taurex_pcq-1.0-py3-none-any.whl

Total release size: 20.4 kB

Release files / taurex_pcq-1.0.tar.gz

Download URL taurex_pcq-1.0.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e1a52bf85d2c716881f6254943939074900c7b4adbaca44a2e3558a837327478
BLAKE2b-256 checksum
How to use checksums
c08d5023709b542d921e5394f6e11e290d28351ccd9f2505b30c9aed2cdb6397
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / taurex_pcq-1.0-py3-none-any.whl

Download URL taurex_pcq-1.0-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0ff7308db99b47a3b05d8158cc5e74b77023dbeaa2adcfe4f884081b97e3386
BLAKE2b-256 checksum
How to use checksums
10eebf301c72c9aba897c44400b271f774057aa1d39366edd6a209eefac3ee20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for taurex-pcq 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page