Skip to content

Open-source python package to simulate observables from stellar binary systems and fit to observation data

License

Notifications You must be signed in to change notification settings

abhimat/phitter

Repository files navigation

phitter

Phitter logo

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 MultiNest (via PyMultiNest), UltraNest, or dynesty. Example scripts to demonstrate how to set up a fitter are provided.

About

Open-source python package to simulate observables from stellar binary systems and fit to observation data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages