Constructing A Flexible Likelihood Function For Spectroscopic Inference

Ian Czekala, Sean M. Andrews, Kaisey S. Mandel, David W. Hogg, Gregory M. Green
12/16/2014
astro-ph.SRastro-ph.EPastro-ph.IM

Official code: Starfish-develop/Starfish (78 stars, BSD-3-Clause, last commit 2026-07-22).

Abstract

We present a modular, extensible likelihood framework for spectroscopic inference based on synthetic model spectra. The subtraction of an imperfect model from a continuously sampled spectrum introduces covariance between adjacent datapoints (pixels) into the residual spectrum. For the high signal-to-noise data with large spectral range that is commonly employed in stellar astrophysics, that covariant structure can lead to dramatically underestimated parameter uncertainties (and, in some cases, biases). We construct a likelihood function that accounts for the structure of the covariance matrix, utilizing the machinery of Gaussian process kernels. This framework specifically address the common problem of mismatches in model spectral line strengths (with respect to data) due to intrinsic model imperfections (e.g., in the atomic/molecular databases or opacity prescriptions) by developing a novel local covariance kernel formalism that identifies and self-consistently downweights pathological spectral line "outliers." By fitting many spectra in a hierarchical manner, these local kernels provide a mechanism to learn about and build data-driven corrections to synthetic spectral libraries. An open-source software implementation of this approach is available at http://iancze.github.io/Starfish, including a sophisticated probabilistic scheme for spectral interpolation when using model libraries that are sparsely sampled in the stellar parameters. We demonstrate some salient features of the framework by fitting the high resolution $V$-band spectrum of WASP-14, an F5 dwarf with a transiting exoplanet, and the moderate resolution $K$-band spectrum of Gliese 51, an M5 field dwarf.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Tools for Flexible Spectroscopic Inference

7823PythonJul 24, 20133 months agoBSD-3-Clause
astronomyastrophysicsinferencemcmcpython+2 more

Similar Papers

Cite this paper

@article{czekala2014constructing,
  title  = {Constructing A Flexible Likelihood Function For Spectroscopic Inference},
  author = {Ian Czekala and Sean M. Andrews and Kaisey S. Mandel and David W. Hogg and Gregory M. Green},
  year   = {2014},
  eprint = {1412.5177},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1412.5177}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1412.5177.svg)](https://codeofpaper.com/paper/1412.5177)

Discussion