phitter#

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 (tutorial here), MultiNest (via PyMultiNest), or dynesty. Phitter can also be used with non-nested sampling MCMC codes like emcee.

Citing Phitter#

DOI

If you use Phitter in published research, please cite the software repository via zenodo. Please also cite the paper Gautam et al. (2024) where many of Phitter’s functionalities are described.

Phitter is built atop the functionality offered by PHOEBE 2 and SPISEA which should also be cited in research using Phitter.

Documentation Contents#