How ahmed-f-alrefaie/taurex3_public works
TauREx 3 is an exoplanet atmospheric retrieval code. Its main workflow reads a configuration, constructs atmospheric and observation objects, computes a forward spectrum, optionally fits model parameters to observations, and writes results. The map includes documented-through-source subsystems for opacity, light-curve modeling, binning, and output. Some links reflect explicit imports or calls in the excerpts and SOURCE INDEX; unsampled implementation details and dynamic wiring are not inferred.
Main entry points: simplemodel.py Forward model · taurex.py TauREx CLI · parameterparser.py Config parser · lightcurve.py Light-curve model
Components 21
Configuration and execution
- TauREx CLI
taurex/taurex.py - Config parser
taurex/parameter/parameterparser.py - Object factory
taurex/parameter/factory.py
Atmosphere and spectra
- Forward model
taurex/model/simplemodel.py - Atmosphere profiles
taurex/data/profiles - Planet properties
taurex/data/planet.py - Stellar spectrum
taurex/data/stellar/star.py - Opacity data
taurex/cache/opacitycache.py - CIA data
taurex/cia - Radiative contributions
taurex/contributions - Light-curve model
taurex/model/lightcurve/lightcurve.py
Fitting and analysis
- Retrieval optimizer
taurex/optimizer/optimizer.py - Sampling backends
taurex/optimizer - Plots and diagnostics
taurex/plot/plotter.py - MPI support
taurex/mpi.py
Data and output
- Observed spectra
taurex/data/spectrum - Spectral binning
taurex/binning/binner.py - Instrument models
taurex/instruments - HDF5 output
taurex/output/hdf5.py - Profile output
taurex/util/output.py
Other components
- Researcher
Connections 25
- Researcher → TauREx CLI: runs
- TauREx CLI → Config parser: reads config
taurex/taurex.py - Config parser → Object factory: constructs objects
taurex/parameter/parameterparser.py - Object factory → Forward model: creates models
taurex/parameter/factory.py - Object factory → Sampling backends: creates samplers
taurex/parameter/factory.py - Config parser → Observed spectra: loads observations
taurex/parameter/parameterparser.py - Config parser → Spectral binning: creates binners
taurex/parameter/parameterparser.py - Config parser → Instrument models: creates instruments
taurex/parameter/parameterparser.py - Config parser → Light-curve model: loads model
taurex/parameter/parameterparser.py - Forward model → Atmosphere profiles: uses profiles
taurex/model/simplemodel.py - Forward model → Planet properties: uses properties
taurex/model/simplemodel.py - Forward model → Stellar spectrum: initializes star
taurex/model/simplemodel.py - Forward model → Opacity data: loads opacity
taurex/model/simplemodel.py - Forward model → Radiative contributions: prepares contributions
- Forward model → CIA data: uses CIA data
- Light-curve model → Forward model: wraps model
taurex/model/lightcurve/lightcurve.py - Light-curve model → Observed spectra: uses spectrum types
taurex/model/lightcurve/lightcurve.py - Light-curve model → Spectral binning: uses binner
taurex/model/lightcurve/lightcurve.py - TauREx CLI → Retrieval optimizer: fits parameters
taurex/taurex.py - Retrieval optimizer → MPI support: parallelizes sampling
taurex/optimizer/optimizer.py - Retrieval optimizer → Sampling backends: uses backend
taurex/optimizer/multinest.py - TauREx CLI → HDF5 output: writes results
taurex/taurex.py - TauREx CLI → Profile output: generates profiles
taurex/taurex.py - TauREx CLI → Plots and diagnostics: plots results
- Retrieval optimizer → Observed spectra: compares data