Physics reproduction¶
The reproduction studies below configure tengri’s public nested-dict API to mimic the behavior of established SED-fitting codes (CIGALE, Prospector, BAGPIPES, AGNfitter-RX, ProSpect, and others). This is possible because tengri implements a superset of the union of the models found in common SED-fitting codes. These are not reimplementations; tengri’s underlying physics may differ, and residual differences are expected and documented per study.
A new code should earn trust by reproducing the physics in the codes already in use before claiming anything new. The notebooks here do that for tengri. Each one implements the same models as one external code and puts the two on the same axes at matched parameters, block by block: stellar populations, star formation history, dust, nebular, AGN, IGM. Where they agree, that is stated; where they differ, the reason is tracked down. Having the same physics in one framework also means every assumption can be checked and different models compared directly. Each notebook ends with a full-SED head-to-head with a residual panel.
Reproducing CIGALE’s physics with tengri: CIGALE (Boquien et al. 2019). The widest stack: stellar, SFH, dust attenuation with Dale 2014 IR, nebular, AGN (SKIRTOR), X-ray, radio, and the Meiksin IGM.
Reproducing BAGPIPES’s physics with tengri: BAGPIPES (Carnall et al. 2018). JWST cosmic-noon focus: parametric and non-parametric SFHs, metallicity, and the Inoue 2014 IGM with the Asada 2025 CGM damping wing.
Reproducing Prospector’s physics with tengri: Prospector / FSPS (Johnson et al. 2021). The core forward model: SSPs, delayed-τ SFH, Calzetti and Kriek & Conroy attenuation, Draine & Li 2007 IR, the Byler nebular grid, and Madau IGM.
Reproducing AGNfitter-rX’s physics with tengri: AGNfitter-RX (Martínez-Ramírez et al. 2024). An AGN-first, radio-to-X-ray deep dive: four accretion-disk libraries (R06, SN12, KD18, THB21) and four torus libraries (S04, NK08, SKIRTOR, CAT3D-Wind) head to head, plus the X-ray corona and radio jets, a table of where the two codes differ, and a parameter map for translating a fit.
Reproducing GRAHSP’s AGN physics with tengri: GRAHSP (Buchner et al. 2024). The AGN model of a galaxy-spectrum fitter, reproduced component by component against upstream’s own spectra at six of its 38 parameter sets: the smooth big blue bump, emission lines, FeII forest, log-Gaussian torus with a silicate feature, the Balmer continuum, the Netzer disc, the MN12 torus, attenuation, and a type-2 composite. Upstream’s emission-line rendering and its 510-normalized templates are stated with the paper equation, and the agreement is shown after applying the correction.
Reproducing ProSpect’s physics with tengri: ProSpect (Robotham et al. 2020), the R-based GAMA code, driven live through
rpy2: BC03 SSPs, the skew-normal SFH, a metallicity history tied to the stellar mass formed, Charlot & Fall attenuation, Dale 2014 IR, emission lines, the SKIRTOR torus, a radio continuum, and the Inoue 2014 IGM.Reproducing BEAGLE’s physics with tengri: BEAGLE (Chevallard & Charlot 2016), run live in its Docker image on its own templates with only its outputs compared: Bruzual & Charlot SSPs, the delayed history with a decoupled current star-formation episode, Charlot & Fall and Chevallard et al. 2013 attenuation in the (τ_V, μ) form, the Gutkin et al. 2016 photoionization grids, Inoue 2014 IGM, and a BEAGLE-mode capstone on CANDELS photometry.
- Reproducing CIGALE’s physics with tengri
- Reproducing BAGPIPES’s physics with tengri
- Reproducing Prospector’s physics with tengri
- Reproducing AGNfitter-rX’s physics with tengri
- Reproducing GRAHSP’s AGN physics with tengri
- Reproducing ProSpect’s physics with tengri
- Reproducing BEAGLE’s physics with tengri
Comparisons with MAGPHYS and GalaPy are scoped on the issue tracker and will land as their notebooks come together.