DSPS: Differentiable Stellar Population Synthesis
arXiv:2112.06830 · doi:10.1093/mnras/stad456
Abstract
Models of stellar population synthesis (SPS) are the fundamental tool that relates the physical properties of a galaxy to its spectral energy distribution (SED). In this paper, we present DSPS: a python package for stellar population synthesis. All of the functionality in DSPS is implemented natively in the JAX library for automatic differentiation, and so our predictions for galaxy photometry are fully differentiable, and directly inherit the performance benefits of JAX, including portability onto GPUs. DSPS also implements several novel features, such as i) a flexible empirical model for stellar metallicity that incorporates correlations with stellar age, and ii) support for the diffstar model that provides a physically-motivated connection between the star formation history of a galaxy (SFH) and the mass assembly of its underlying dark matter halo. We detail a set of theoretical techniques for using autodiff to calculate gradients of predictions for galaxy SEDs with respect to SPS parameters that control a range of physical effects, including SFH, stellar metallicity, nebular emission, and dust attenuation. When forward modeling the colors of a synthetic galaxy population, we find that DSPS can provide a factor of 5 speedup over standard SPS codes on a CPU, and a factor of 300-400 on a modern GPU. When coupled with gradient-based techniques for optimization and inference, DSPS makes it practical to conduct expansive likelihood analyses of simulation-based models of the galaxy--halo connection that fully forward model galaxy spectra and photometry.
arXiv comment13 pages, 2 appendices. Version accepted for publication in MNRAS
References in corpus (76)
- Astropy: A Community Python Package for Astronomy
- Stellar population synthesis at the resolution of 2003
- Galactic Stellar and Substellar Initial Mass Function
- The Astropy Project: Building an inclusive, open-science project and status of the v2.0 core package
- The Dust Content and Opacity of Actively Star-Forming Galaxies
- Modules for Experiments in Stellar Astrophysics (MESA)
- Starburst99: Synthesis Models for Galaxies with Active Star Formation
- Modules for Experiments in Stellar Astrophysics (MESA): Giant Planets, Oscillations, Rotation, and Massive Stars
- Modules for Experiments in Stellar Astrophysics (MESA): Binaries, Pulsations, and Explosions
- MESA Isochrones and Stellar Tracks (MIST). I: Solar-Scaled Models
- MESA Isochrones and Stellar Tracks (MIST) 0: Methods for the construction of stellar isochrones
- Evolutionary population synthesis: models, analysis of the ingredients and application to high-z galaxies
- The propagation of uncertainties in stellar population synthesis modeling I: The relevance of uncertain aspects of stellar evolution and the IMF to the derived physical properties of galaxies
- A Simple Model for the Absorption of Starlight by Dust in Galaxies
- K-corrections and filter transformations in the ultraviolet, optical, and near infrared
- UV Star Formation Rates in the Local Universe
- The ages and metallicities of galaxies in the local universe
- The propagation of uncertainties in stellar population synthesis modeling III: model calibration, comparison, and evaluation
- Semi-Analytic Modelling of Galaxy Formation: The Local Universe
- Machine learning accelerated computational fluid dynamics
- An ultra-deep near-infrared spectrum of a compact quiescent galaxy at z=2.2
- Clustering of Galaxies in a Hierarchical Universe: I. Methods and Results at z=0
- Modeling the Panchromatic Spectral Energy Distributions of Galaxies
- Binary Population and Spectral Synthesis Version 2.1: construction, observational verification and new results
- Inferring the star-formation histories of massive quiescent galaxies with BAGPIPES: Evidence for multiple quenching mechanisms
- An updated MILES stellar library and stellar population models
- Stellar Population Inference with Prospector
- Chemical Cartography with APOGEE: Metallicity Distribution Functions and the Chemical Structure of the Milky Way Disk
- Dust Attenuation Curves in the Local Universe: Demographics and New Laws for Star-forming Galaxies and High-redshift Analogs
- How to Measure Galaxy Star Formation Histories II: Nonparametric Models
- COLOSSUS: A python toolkit for cosmology, large-scale structure, and dark matter halos
- Evolution of the Hubble Sequence in Hierarchical Models for Galaxy Formation
- The Mass Assembly and Star Formation Characteristics of Field Galaxies of Known Morphology
- The Dust Attenuation Law in Distant Galaxies: Evidence for Variation with Spectral Type
- Galacticus: A Semi-Analytic Model of Galaxy Formation
- Evolutionary synthesis of galaxies at high spectral resolution with the code PEGASE-HR
- The CAMELS project: Cosmology and Astrophysics with MachinE Learning Simulations
- The Dust Attenuation Law in Galaxies
- An Older, More Quiescent Universe from Panchromatic SED Fitting of the 3D-HST Survey
- Evidence of Cosmic Evolution of the Stellar Initial Mass Function
- Evolutionary synthesis of stellar populations: a modular tool
- Optical-IR Spectral Energy Distributions of z>2 Lyman Break Galaxies
- exoplanet: Gradient-based probabilistic inference for exoplanet data & other astronomical time series
- Dark Quest. I. Fast and Accurate Emulation of Halo Clustering Statistics and Its Application to Galaxy Clustering
- Euclid preparation: II. The EuclidEmulator -- A tool to compute the cosmology dependence of the nonlinear matter power spectrum
- How Well Can We Measure the Stellar Mass of a Galaxy: The Impact of the Assumed Star Formation History Model in SED Fitting
- Inflow, Outflow, Yields, and Stellar Population Mixing in Chemical Evolution Models
- Non-parametric Star Formation History Reconstruction with Gaussian Processes I: Counting Major Episodes of Star Formation
- A photometric and spectroscopic study of dwarf and giant galaxies in the Coma cluster -- III. Spectral ages and metallicities
- Relative merits of different types of rest-frame optical observations to constrain galaxy physical parameters
- The Aemulus Project II: Emulating the Halo Mass Function
- CosmoDC2: A Synthetic Sky Catalog for Dark Energy Science with LSST
- Equilibrium and Sudden Events in Chemical Evolution
- Cosmic Calibration
- The cosmology dependence of galaxy clustering and lensing from a hybrid -body-perturbation theory model
- On the importance of using appropriate spectral models to derive physical properties of galaxies at 0.7<z<2.8
- Constraints on Physical Properties of z~6 Galaxies Using Cosmological Hydrodynamic Simulations
- SPECULATOR: Emulating stellar population synthesis for fast and accurate galaxy spectra and photometry
- Cosmic Shear Covariance Matrix in CDM: Cosmology Matters
- Accurate emulator for the redshift-space power spectrum of dark matter halos and its application to galaxy power spectrum
- SFHs OF Galaxies in LEGA-C
- Matter Power Spectrum Emulator for f(R) Modified Gravity Cosmologies
- FlowPM: Distributed TensorFlow Implementation of the FastPM Cosmological N-body Solver
- Accelerated Bayesian SED Modeling using Amortized Neural Posterior Estimation
- Deep Realistic Extragalactic Model (DREaM) Galaxy Catalogs: Predictions for a Roman Ultra-Deep Field
- Forward modeling of galaxy populations for cosmological redshift distribution inference
- Surrogate modelling the Baryonic Universe I: The colour of star formation
- A Differentiable Model of the Assembly of Individual and Populations of Dark Matter Halos
- Diffstar: A Fully Parametric Physical Model for Galaxy Assembly History
- Hierarchical Bayesian inference of photometric redshifts with stellar population synthesis models
- The DESI PRObabilistic Value-Added Bright Galaxy Survey (PROVABGS) Mock Challenge
- Generating Synthetic Cosmological Data with GalSampler
- Surrogate modelling the Baryonic Universe II: on forward modelling the colours of individual and populations of galaxies
- DIGS: Deep Inference of Galaxy Spectra with Neural Posterior Estimation
- Differentiable Predictions for Large Scale Structure with SHAMNet
- An Interpretable Machine Learning Framework for Modeling High-Resolution Spectroscopic Data