MCP
DF

Daniel Foreman-Mackey

97 papers in the library

Papers

30
Gaussian Process Methods for Very Large Astrometric Data Sets
Timothy HapitasLawrence M. WidrowThavisha E. DharmawardenaDaniel Foreman-Mackey
This paper introduces a non-parametric method based on Stochastic Variational Gaussian Process Regression (SVGPR) to simultaneously model the Milky Way's mean velocity field and velocity dispersion tensor from astrometric data. By exploiting the factorization property of SVGPR's objective function, the method achieves $O(M^3)$ complexity (with $M \ll N$ selected points) instead of standard GPR's $O(N^3)$. Applied to ~8×10⁵ Gaia DR3 stars, it reveals asymmetric vertical dispersion components and correlated structures interpreted as signatures of the Gaia phase spiral, indicating disequilibrium in the Milky Way's vertical dynamics.
arXivarXiv · · July 14, 2025
0
SiO and a super-stellar C/O ratio in the atmosphere of the giant exoplanet WASP-121b
Thomas M. Evans-SomaDavid K. Sing…Daniel Foreman-Mackey
From a single JWST observation of the ultrahot giant exoplanet WASP-121b, this paper reports simultaneous detections of H$_2$O, CO, and SiO in the dayside atmosphere and CH$_4$ in the nightside. The measured atmospheric C/H, O/H, Si/H, and C/O ratios exceed the stellar values, indicating that both pebbles and planetesimals contributed significantly to the planet's formation. The CH$_4$-rich nightside further suggests that strong vertical mixing strongly influences the chemistry.
arXivarXiv · · June 2, 2025
0
Measuring Long Stellar Rotation Periods (>10 days) from TESS FFI Light Curves is Possible: An Investigation Using TESS and ZTF
Soichiro HattoriRuth AngusDaniel Foreman-MackeyYuxiIsabel Colman
This paper investigates the feasibility of measuring stellar rotation periods longer than 10 days from TESS FFI light curves, focusing on K and M dwarfs in the Northern Continuous Viewing Zone (NCVZ). Using a reference set of 272 period measurements from ZTF as ground truth, the authors apply the unpopular pipeline for de-trending and a modified Lomb-Scargle periodogram that accounts for sector-to-sector flux offsets. They find that for 66% (179/272) of sources, the TESS-derived periods match ZTF periods within 10%; the match rate improves to 81% (137/170) for sources with TESS LS power above a threshold. This confirms that TESS data can reliably measure slow rotation periods, expanding its utility for studying such stars.
arXivarXiv · · May 15, 2025
0
Exoplanet Occurrence Rate with Age for FGK Stars in Kepler
Maryum SayeedRuth AngusTravis BergerYuxiJessie ChristiansenDaniel Foreman-MackeyMelissa Ness
Using Kepler Q1-17 DR25 data, we measure the occurrence rate of exoplanets (radius $0.2 \leq Rp \leq 20$ R$_\oplus$, period $0.2 \leq P \leq 100$ days) for FGK stars aged 1.5–8 Gyr, correcting for detection efficiency. No significant trend between occurrence rate and age is found; a slight decreasing trend (within 1.5–2.5 $\sigma$) appears only for low-mass, metal-rich stars. The results hint at dynamical instability reducing occurrence over time, but larger samples are needed for a clear relation.
arXivarXiv · · January 23, 2025
0
14
Precise Time-Domain Asteroseismology and a Revised Target List for TESS Solar-Like Oscillators
Daniel HeyDaniel HuberJoel OngDennis StelloDaniel Foreman-Mackey
Time-domain modeling with Gaussian Process kernels, treating oscillations as stochastically damped simple harmonic oscillators, nearly doubles the accuracy of measuring $\nu_\text{max}$ in solar-like oscillators observed by TESS compared to frequency-domain methods. This is demonstrated on $\nu$ Indi and Kepler red giants. Using Gaia DR3 and TESS input catalog parameters, revised detection probabilities are calculated for T<12 mag and predicted $\nu_\text{max}>240\,\mu$Hz targets, showing the method can recover marginal detections and potentially explain the shortfall in TESS oscillation detections.
arXivarXiv · · March 4, 2024
0
3
How do wavelength correlations affect transmission spectra? Application of a new fast and flexible 2D Gaussian process framework to transiting exoplanet spectroscopy
Mark FortuneNeale P. GibsonDaniel Foreman-MackeyThomas M. Evans-SomaCathal MaguireSwaetha Ramkumar
This paper introduces a Gaussian process (GP) method that models noise correlated in both time and wavelength simultaneously for full spectroscopic datasets, avoiding a common-mode correction. The method uses a Kronecker-product kernel on a 2D grid (time × wavelength) to make the analysis computationally tractable and retrieves the full covariance matrix of the transmission spectrum. Tests on synthetic data show that ignoring wavelength correlations causes underestimation of uncertainty in the scattering slope and overestimation in sharp absorption features, while the new method reliably recovers atmospheric features. Re-analysis of two VLT/FORS2 transit observations of WASP-31b constrains wavelength-correlated noise and yields different constraints on atmospheric features.
arXivarXiv · · February 23, 2024
0
nuance: Efficient detection of planets transiting active stars
Lionel GarciaDaniel Foreman-MackeyCatriona A. MurraySuzanne AigrainDax L. FelizFrancisco J. Pozuelos
nuance is a GPU-accelerated algorithm that searches for planetary transits in light curves while simultaneously modeling correlated noise from stellar variability and instrumental signals. Unlike traditional detrend-then-search pipelines, which often reduce transit signal-to-noise for active stars, nuance directly accounts for the noise structure. On simulated and TESS data for 438 rapidly-rotating M dwarfs, nuance outperformed five common detrending-plus-BLS methods in 93% of cases, achieving more true positives and fewer false positives.
arXivarXiv · · February 9, 2024
0
In this Day and Age: An Empirical Gyrochronology Relation for Partially and Fully Convective Single Field Stars
Yuxi LuRuth AngusDaniel Foreman-MackeySoichiro Hattori
This paper calibrates the first empirical gyrochronology relation for single main-sequence stars spanning 0.67–14 Gyr. Using a Gaussian Process model trained on gyro-kinematic ages (~1–14 Gyr) and cluster ages (0.67–3.8 Gyr), the relation infers stellar ages with an average uncertainty of just over 1 Gyr, as validated against cluster and asteroseismic ages. The model is applied to ~100,000 stars within 1.5 kpc of the Sun with Kepler and ZTF rotation periods, and to 384 planet-host stars.
arXivarXiv · · October 23, 2023
0
Overfitting Affects the Reliability of Radial Velocity Mass Estimates of the V1298 Tau Planets
Sarah BluntAdolfo CarvalhoTrevor J. DavidCharles BeichmanJon K. ZinkEric GaidosAida BehmardLuke G. BoumaDevin CodyFei DaiDaniel Foreman-MackeySam Grunblatt  +14
This paper shows that the radial-velocity mass estimates for two planets in the V1298 Tau system, previously reported by Suárez-Mascareño et al. (2021), are unreliable due to overfitting. By obtaining 36 new Keck/HIRES RVs and performing cross-validation tests, the authors demonstrate that the preferred Gaussian Process regression model fails to predict unseen data, rendering the derived masses invalid. The resulting high planetary densities, which contradicted formation theories, were therefore artifacts of overfitting rather than physical properties of the planets.
arXivarXiv · · June 13, 2023
0
82
A Hierarchical Bayesian Framework for Inferring the Stellar Obliquity Distribution
Jiayin DongDaniel Foreman-Mackey
This paper proposes a hierarchical Bayesian framework that infers the population-level stellar obliquity distribution directly from sky-projected obliquities without requiring stellar inclination measurements, although such measurements can be incorporated. The framework is applied to known transiting systems, primarily Hot Jupiters, revealing a unimodal obliquity distribution peaking at zero degrees, with misaligned systems distributed nearly isotropically and no clustering near 90 degrees. This suggests dynamic mechanisms like planet-planet scattering after convergent disk migration.
arXivarXiv · · May 23, 2023
0
First Impressions: Early-Time Classification of Supernovae using Host Galaxy Information and Shallow Learning
Alexander GaglianoGabriella ContardoDaniel Foreman-MackeyAlex I. MalzPatrick D. Aleo
This work introduces a neural network with a single recurrent layer for early photometric classification of supernovae, using host galaxy photometry to address data scarcity and transfer learning to handle model misspecification. On observed data from the Zwicky Transient Facility, the method achieves 82% accuracy within 3 days of discovery and 87% within 30 days, matching or exceeding leading classifiers with a simpler architecture.
arXivarXiv · · May 15, 2023
0
41
Joint Modeling of Radial Velocities and Photometry with a Gaussian Process Framework
Quang H. TranMegan BedellDaniel Foreman-MackeyRodrigo Luger
This paper presents a Gaussian process (GP) framework that jointly models stellar activity signals in photometry and radial velocity (RV) data. Inspired by the FF' method, it represents spot-driven signals as linear combinations of two independent latent GPs and their time derivatives. The framework is tested on synthetic data from an extended version of the starry software, demonstrating that it predicts spot-driven RV variations more accurately than alternative GP approaches.
arXivarXiv · · May 1, 2023
0
Detecting Solar System Analogs through Joint Radial Velocity/Astrometric Surveys
Daniel A. YahalomiRuth AngusDavid N. SpergelDaniel Foreman-Mackey
This study simulates a combined radial velocity and astrometric survey to detect Solar System analogs. Using the Terra Hunting Experiment's 10-year RV data (0.3 m/s precision) and Gaia astrometry (34.2 μas precision) for nearby Sun-like stars, Earth-mass planets on year-long orbits and cool gas giants on decade-long orbits are detectable. Adding Roman Space Telescope astrometry (5–20 μas) improves cool gas giant mass and period constraints by factors up to ~10 and ~4, respectively, enabling the identification of exoplanet architectures resembling our Solar System's mass and orbital hierarchy.
arXivarXiv · · February 10, 2023
0
9
Practical Guidance for Bayesian Inference in Astronomy
Gwendolyn M. EadieJoshua S. SpeagleJessi Cisewski-KeheDaniel Foreman-MackeyDaniela HuppenkothenDavid E. JonesAaron SpringfordHyungsuk Tak
This paper consolidates terminology and notation for Bayesian inference that vary across astronomy sub-fields and between astronomy and statistics, while providing practical guidance for astronomers already familiar with Bayesian foundations. It covers likelihood and prior specification, posterior inference, and posterior predictive checking, serving as a reference for deepening expertise in astrostatistics and astroinformatics.
arXivarXiv · · February 9, 2023
0
8
ripple: Differentiable and Hardware-Accelerated Waveforms for Gravitational Wave Data Analysis
Thomas D. P. EdwardsKaze W. K. WongKelvin K. H. LamAdam CooganDaniel Foreman-MackeyMaximiliano IsiAaron Zimmerman
This paper introduces ripple, a JAX-based framework that makes gravitational waveforms for binary black holes (IMRPhenomD) differentiable and hardware-accelerated. The authors show that serial CPU evaluation matches the speed of the C implementation in LALSuite, while GPU acceleration yields over an order of magnitude speedup. They demonstrate three applications: gradient-based optimization of waveform calibration coefficients improves match with numerical relativity by over 50%; Fisher forecasting is sped up by roughly 100× on CPU; and Hamiltonian Monte Carlo samplers achieve significantly lower autocorrelation than traditional methods. The work proposes that future waveform models be built in JAX.
arXivarXiv · · February 8, 2023
0
14
A JWST NIRSpec Phase Curve for WASP-121b: Dayside Emission Strongest Eastward of the Substellar Point and Nightside Conditions Conducive to Cloud Formation
Thomas Mikal-EvansDavid K. SingJiayin DongDaniel Foreman-MackeyTiffany KatariaJoanna K. BarstowJayesh M. GoyalNikole K. LewisJoshua D. LothringerNathan J. MayneHannah R. WakefordDuncan A. Christie  +1
Using JWST NIRSpec, the first exoplanet phase curve is measured for ultrahot Jupiter WASP-121b. The light curves in two bands (2.70–3.72 µm and 3.82–5.15 µm) show peaks prior to mid-eclipse, indicating the strongest dayside emission emanates eastward of the substellar point. Nightside brightness temperatures (926±12 K and 1122±10 K) are low enough for refractory condensates like enstatite and forsterite to form, suggesting a cloud deck that may block deeper emission.
arXivarXiv · · January 9, 2023
0
61
Calibrating cosmological simulations with implicit likelihood inference using galaxy growth observables
Yongseok JoShy GenelBenjamin WandeltRachel SomervilleFrancisco Villaescusa-NavarroGreg L. BryanDaniel Angles-AlcazarDaniel Foreman-MackeyDylan NelsonJi-hoon Kim
This paper presents a novel approach to calibrating cosmological hydrodynamic simulations by combining implicit likelihood inference (ILI) with neural network emulators, overcoming the previous computational barrier. Using emulators trained on ~1000 CAMELS simulations, the authors infer six-dimensional posterior distributions of cosmological and astrophysical parameters (Omega_m, sigma_8, stellar wind feedback, and kinetic black hole feedback) from the cosmic star formation rate density (SFRD) and stellar mass functions (SMFs). The emulated SFRD and SMFs achieve relative errors of 0.17% and 0.4% respectively. While SFRD-inferred parameters exhibit degeneracies—confirmed by new simulations—SMFs break these degeneracies, providing complementary constraints. Applying the method to observational SFRD yields good reproduction, but inferred SMFs show significant discrepancies with observed ones, indicating potential limitations in current galaxy formation models or observational systematics.
arXivarXiv · · November 29, 2022
0
28
Early Release Science of the Exoplanet WASP-39b with JWST NIRSpec G395H
Lili AldersonHannah R. Wakeford…Daniel Foreman-Mackey
JWST NIRSpec G395H medium-resolution (R~600) transmission spectroscopy of the Saturn-mass exoplanet WASP-39b between 3–5 $\mu$m yields high-precision (1.46× photon noise, 221 ppm per bin) absorption detections of CO$_2$ (28.5$\sigma$), H$_2$O (21.5$\sigma$), and SO$_2$ (4.8$\sigma$). Atmospheric models indicate 3–10× solar metallicity and sub-solar to solar C/O ratios, demonstrating the capability of NIRSpec G395H for exoplanet chemistry characterization.
arXivarXiv · · November 18, 2022
0
396
flowMC: Normalizing-flow enhanced sampling package for probabilistic inference in Jax
Kaze W. K. WongMarylou GabriéDaniel Foreman-Mackey
flowMC is a Python library for accelerated Markov Chain Monte Carlo (MCMC) in JAX. It combines a local sampler (e.g., MALA or HMC) with a global sampler powered by a normalizing flow (Rational-Quadratic Splines). While local chains explore the target distribution, the flow is trained on those samples and used to propose efficient global jumps, enabling the sampler to handle challenging geometries such as multimodality and local correlations. The package supports GPU/TPU acceleration, SIMD parallelism, and JIT compilation, and provides both a black-box default interface and a tuning guide.
arXivarXiv · · November 10, 2022
0
43
The Initial Magnetic Field Distribution in AB Stars
Eoin FarrellAdam S. JermynMatteo CantielloDaniel Foreman-Mackey
By combining observations with theoretical models of magnetic field evolution, the authors infer the initial magnetic field distribution for AB stars (1.6–3.4 M$_\odot$). They find that a Gaussian distribution with mean $\mu = 770$ G and standard deviation $\sigma = 146$ G best matches the observed fraction of strongly magnetized stars as a function of mass, though other measurements suggest stronger fields (2–3 kG), indicating a possible mass-dependent, bimodal distribution or alternative origin.
arXivarXiv · · October 20, 2022
0
4
Gaussian Process regression for astronomical time-series
Suzanne AigrainDaniel Foreman-Mackey
This review presents Gaussian Process (GP) regression as a leading method for modeling stochastic signals in astronomical time-series data, valued for its flexibility, mathematical simplicity, and robustness. The paper covers the core mathematical theory, key modeling choices, and practical advice, while surveying astrophysical applications from exoplanets to active galactic nuclei. It also addresses computational cost and scalability, provides worked examples with source code, and surveys the open-source GP software ecosystem.
arXivarXiv · · September 19, 2022
0
A Generative Model for Quasar Spectra
Anna-Christina EilersDavid W. HoggBernhard SchölkopfDaniel Foreman-MackeyFrederick B. DaviesJan-Torge Schindler
We present a generative model for quasar spectra that uses a Gaussian process latent-variable model to treat each quasar as a vector of latent properties. Non-linear functions of these latent parameters produce both the spectrum and physical properties of the black hole, with Gaussian process kernels providing priors. The model handles heteroscedastic noise and missing data, enabling simultaneous prediction of unobserved spectral regions and black hole masses from single-epoch spectra, achieving accuracy near the best possible level.
arXivarXiv · · September 6, 2022
0
14
The Astropy Project: Sustaining and Growing a Community-oriented Open-source Project and the Latest Major Release (v5.0) of the Core Package
Astropy CollaborationAdrian M. Price-Whelan…Daniel Foreman-Mackey
The Astropy Project maintains a community-oriented ecosystem of open-source Python packages for astronomy. This article describes the 5.0 release of the core $\texttt{astropy}$ package, its role as the foundation for specialized tools, and growth of the broader interoperable package ecosystem including connections with observatories and missions. The Project's future outlook and current challenges are also discussed.
arXivarXiv · · June 28, 2022
0
7k+
paired: A Statistical Framework for Detecting Stellar Binarity with Gaia RVs. I. Sensitivity to Unresolved Binaries
Quadry ChanceDaniel Foreman-MackeySarah BallardAndrew CaseyTrevor DavidAdrian Price-Whelan
This paper introduces paired, a statistical framework for forward modeling Gaia radial velocity (RV) observables to detect unresolved stellar binaries. The core contribution is linking each star's reported Gaia RV noise to the probability of an unresolved binary companion. This allows users to interpret observed binary probability distributions within Gaia's sensitivity limits and, for high-probability stars, to constrain the binary's semi-amplitude. The framework is validated against ground-based surveys and Gaia DR3 itself, serving as a community tool for population-level studies of stellar multiplicity and its effects on planets.
arXivarXiv · · June 22, 2022
0
6
The 3D Galactocentric velocities of Kepler stars: marginalizing over missing RVs
Ruth AngusAdrian M. Price-WhelanJoel C. ZinnMegan BedellYuxiDaniel Foreman-Mackey
Using Gaia astrometry and radial velocities (RVs) from Gaia, LAMOST, and APOGEE, the authors directly compute 3D Galactocentric velocities for about a quarter of Kepler targets. For the remaining three-quarters lacking RVs, they infer 3D velocities by marginalizing over the missing RV dimension, using the velocity distribution of the RV-rich stars as a prior. The resulting catalog of 148,590 stars has median uncertainties of roughly 4, 18, and 4 km/s in $v_x$, $v_y$, and $v_z$. The prior is specific to the Kepler field, cautioning against direct transfer to other sky regions.
arXivarXiv · · May 18, 2022
0
A Bayesian Population Model for the Observed Dust Attenuation in Galaxies
Gautam NagarajJohn C. ForbesJoel LejaDaniel Foreman-MackeyChristopher C. Hayward
This paper introduces a population Bayesian model that simultaneously accounts for correlated variables and non-Gaussian errors in dust attenuation analysis. Applied to nearly 30,000 3D-HST galaxies with Prospector fits, the model reveals that the attenuation slope flattens as optical depth increases, albeit less strongly than previously reported. Optical depth rises steeply with star formation rate but remains nearly constant at low SFR across a wide stellar-mass range. Edge-on galaxies show higher optical depth only above $\log M_*\approx 10$. Redshift evolution is strongest for low-mass, low-SFR galaxies, which are dustier and have flatter curves at high redshift.
arXivarXiv · · February 10, 2022
0
53
The Thresher: Lucky Imaging without the Waste
James A. HitchcockD. M. BramichDaniel Foreman-MackeyDavid W. HoggMarkus Hundertmark
The Thresher replaces traditional lucky imaging (TLI) with an online multi-frame blind deconvolution pipeline that uses all frames in a data cube, not just the sharpest, to estimate the astronomical scene. Unlike TLI, it requires no prior knowledge of point-spread functions or point sources. The returned scene is the optimum of a likelihood-based objective, yielding higher signal-to-noise than TLI without sacrificing angular resolution. Tests on simulated and real Danish 1.54m telescope data confirm the improvement, but the current image model introduces non-linear flux biases.
arXivarXiv · · February 9, 2022
0
3
A Mirage or an Oasis? Water Vapor in the Atmosphere of the Warm Neptune TOI-674 b
Jonathan BrandeIan J. M. CrossfieldLaura KreidbergAntonija OklopčićAlex S. PolanskiTravis BarmanBjörn BennekeJessie L. ChristiansenDiana DragomirDaniel Foreman-MackeyJonathan J. FortneyThomas P. Greene  +5
TOI-674 b, a warm Neptune in the Neptune desert, was observed with HST/WFC3. Retrieval analysis of its near-infrared transmission spectrum finds moderate evidence (2.9σ, Bayes factor 15.8) for water vapor absorption at 1.4 μm and weak evidence (2.2σ, Bayes factor 4.0) for clouds. This detection of water vapor supports the presence of an atmosphere on this planet, which is a strong candidate for further study to refine the water abundance. Updated transit parameters from TESS and Spitzer data are also provided.
arXivarXiv · · January 11, 2022
0
23
V1298 Tau with TESS: Updated Ephemerides, Radii, and Period Constraints from a Second Transit of V1298 Tau e
Adina D. FeinsteinTrevor J. DavidBenjamin T. MontetDaniel Foreman-MackeyJohn H. LivingstonAndrew W. Mann
From two transits of V1298 Tau e observed six years apart by K2 and TESS, the marginalized posterior probability of the planet's period is derived. The highest-probability period places it in a near 2:1 mean motion resonance with V1298 Tau b, potentially making the system a four-planet resonant chain. Updated ephemerides for all four planets are also reported, and shallower TESS transits for V1298 Tau bcd relative to K2 are attributed to starspot-crossing events or nearby faint stars.
arXivarXiv · · November 16, 2021
0
36
An Aligned Orbit for the Young Planet V1298 Tau b
Marshall C. JohnsonTrevor J. David…Daniel Foreman-Mackey
From spectroscopic transit observations of the 28±4 Myr exoplanet V1298 Tau b, we measure a sky-projected spin–orbit angle λ = 4^{+7}_{-10}° and a three-dimensional obliquity ψ = 8^{+4}_{-7}°, both indicating a well-aligned (prograde) orbit. Combined with prior constraints on the inner planet V1298 Tau c, the mutual inclination between the two planets is iₘᵤₜ = 0° ± 19°. This adds to the small set of aligned young planets, hinting that large misalignments may arise on timescales longer than tens of Myr.
arXivarXiv · · October 20, 2021
0
44
Frequent collaborators
David W. Hogg (24)
Rodrigo Luger (22)
Ruth Angus (15)
Eric Agol (13)
Benjamin T. Montet (9)
Christina Hedges (8)
Megan Bedell (7)
Thomas Barclay (7)
Trevor J. David (6)
David W. Latham (6)
Ethan Kruse (6)
Jiayin Dong (5)