Phitter is an open-source python package to simulate observables from stellar binary systems and to fit them to observed data. Observables that can be calculated and fit with phitter include photometry (i.e., observed fluxes) and line-of-sight radial velocities (RVs).

Modeling of binary systems and calculation of observables is primarily handled with PHOEBE. When computing flux from model binaries, synthetic photometry for stars is derived for a wide range of telescope and passbands using SPISEA. Parameters for the binary system’s stellar components can be derived via interpolation of model stellar tracks (Phitter currently implements MIST). Otherwise, arbitrary stellar parameters for one or both stars can also be specified.

Fitting of observables to binary models is conducted with the use of MCMC sampling code. We provide support for sampling with nested sampling codes like UltraNest, MultiNest (via PyMultiNest), or dynesty. Phitter can also be used with non-nested sampling MCMC codes like emcee. Examples to demonstrate how to set up a fitter are provided for UltraNest, dynesty, and emcee.

Getting started#


Structure of Phitter

[How to set up a model binary]

[Including additional effects on photometric observables.]

[Including additional effects on RV observables.]

[How to derive own passbands and implement into PHOEBE]

[How to fit observables with nested sampling.]

Table of Contents#

Indices and tables#