[Paper Review] Allesfitter: Flexible Star and Exoplanet Inference From Photometry and Radial Velocity
allesfitter is a flexible, open-source Python package for joint inference of stars and exoplanets from photometric and radial velocity data, supporting transit-timing variations, phase curves, stellar variability, spots, flares, and systematic noise via Gaussian processes. It enables both Markov Chain Monte Carlo (MCMC) and Nested Sampling for parameter estimation and Bayesian model comparison, with publication-ready outputs and a user-friendly GUI or API for coding users.
We present allesfitter, a public and open-source python software for flexible and robust inference of stars and exoplanets given photometric and radial velocity data. Allesfitter offers a rich selection of orbital and transit/eclipse models, accommodating multiple exoplanets, multi-star systems, transit-timing variations, phase curves, stellar variability, star spots, stellar flares, and various systematic noise models including Gaussian Processes. It features both parameter estimation and Bayesian model selection, allowing to easily run either a Markov Chain Monte Carlo (MCMC) or Nested Sampling fit. For novice users, a graphical user interface allows to specify all input and perform analyses; for python users, all modules can be readily imported in any existing scripts. Allesfitter also produces publication-ready tables, LaTeX commands, and figures. The software is publicly available (https://github.com/MNGuenther/allesfitter), pip-installable (pip install allesfitter) and well documented (www.allesfitter.com). Finally, we demonstrate the software's capabilities on several examples and provide updates to the literature where possible for Pi Mensae, TOI-216, WASP-18, KOI-1003 and GJ 1243.
Motivation & Objective
- To address the growing need for scalable, reproducible, and automated inference in exoplanet and stellar system modeling from multi-mission photometric and radial velocity data.
- To overcome limitations in existing software that often focus on narrow problems (e.g., only transits or RVs) and lack robust Bayesian model comparison.
- To unify diverse forward models—such as transit, eclipse, phase curve, flare, and noise models—into a single extensible framework.
- To provide both a GUI for novice users and a programmable API for advanced users, ensuring broad accessibility and integration into existing workflows.
- To deliver publication-ready outputs, including LaTeX tables, figures, and commands, enhancing reproducibility and dissemination.
Proposed method
- Uses Bayesian inference via Bayes’ theorem to compute the posterior probability of model parameters given data and priors.
- Employs likelihood functions assuming Gaussian noise for photometric and radial velocity data, with log-likelihood defined as a sum of chi-squared terms.
- Supports both MCMC (via emcee) and Nested Sampling (via dynesty) for posterior sampling, with the latter enabling robust Bayesian evidence estimation.
- Integrates modular forward models from established packages: ellc for transits/eclipses and RVs, aflare for stellar flares, celerite for Gaussian processes, and others.
- Models systematic noise using polynomials, splines, or Gaussian processes, with flexible configuration for multi-epoch and multi-source data.
- Enables injection-recovery tests and supports multi-planet, multi-star, and complex systems with transit-timing variations, phase curves, and spot modeling.
Experimental results
Research questions
- RQ1Can a single, extensible software framework robustly handle joint inference of multiple exoplanet and stellar phenomena from photometric and radial velocity data?
- RQ2How effectively can allesfitter perform parameter estimation and Bayesian model comparison across diverse systems, including those with complex noise and variability?
- RQ3To what extent does allesfitter’s output match published results from independent analyses on real exoplanet systems like TOI-216, WASP-18, KOI-1003, and GJ 1243?
- RQ4How well does allesfitter perform in modeling stellar flares, spots, and phase curves while maintaining statistical rigor and computational efficiency?
- RQ5Can allesfitter’s GUI and API simultaneously serve novice users and expert developers in a unified, reproducible workflow?
Key findings
- allesfitter successfully reproduces published results for TOI-216, with posterior estimates for orbital parameters and transit-timing variations (TTVs) in excellent agreement with Dawson et al. (2019).
- For WASP-18, allesfitter recovers the optical phase curve amplitudes (A1 = 0.0221 ± 0.0045, B1 = 0.1443 ± 0.0056, B2 = 0.1922 ± 0.0059) with high consistency to Shporer et al. (2019).
- In the case of KOI-1003, allesfitter’s posteriors for the binary star system (e.g., RA/RB = 0.1634 ± 0.0021, P = 8.35992 ± 0.00094 d) align well with Roettenbacher et al. (2016), with minor deviations attributed to spot crossings.
- For GJ 1243, allesfitter models two spots and three flares in a 1.8-day TESS segment, recovering flare peak times (e.g., t_peak,flare1 = 2456519.028417 ± 0.000038 BJD) and amplitudes (A_flare1 = 0.0973 ± 0.0034) consistent with expectations.
- The software produces publication-ready outputs, including LaTeX tables and figures, with minimal user effort, as demonstrated across all test cases.
- allesfitter’s Nested Sampling implementation provides low-variance Bayesian evidence estimates, enabling statistically robust model comparison, unlike standard MCMC alone.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.