Tutorials#
Some basic tutorials to understand how to use Phitter’s main features.
Simulate a model binary#
This tutorial walks through the basics of setting up a simulation of a model binary system, with models of observable fluxes and RVs.
Simulate a model binary using stellar parameters from an isochrone#
This tutorial introduces how to use Phitter to specify stellar parameters for binary components from MIST isochrones. Constraining stellar parameters to those derived from isochrones can be useful if the age of a binary or the host star population is well constrained.
Including additional effects on photometric fluxes#
By default, Phitter’s model binaries are located at a distance of 10 parsecs and simulated fluxes have no extinction applied. In order to match observables to data, additional photometric effects can be included. Examples include reddening from extinction, distance modulus, or flux zero-point uncertainties.
This tutorial walks through how to apply a distance modulus and reddening from an extinction law in order to obtain simulated photometry with
Including additional effects on radial velocities#
Similar to photometric data, additional effects can be included on radial velocities (RVs) simulated from Phitter. Currently this only includes a constant offset for the system’s center of mass.
Advanced: how to incorporate new photometric passbands into Phitter#
tutorial under construction
Fitting binary model to observed data using nested sampling via UltraNest#
This tutorial walks through the process of fitting a binary star model to observation data using nested sampling with UltraNest.
Fitting binary model to observed data using emcee#
This tutorial walks through the process of fitting a binary star model to observation data using MCMC sampling with emcee.
- Tutorial: Simulate a model binary
- Tutorial: Simulate a model binary using stellar parameters from an isochrone
- Tutorial: Add additional effects to simulated photometric fluxes
- Tutorial: Add additional effects to simulated radial velocities
- Add a constant offset for the center of mass RV
- Simulate mock observations data for fitting
- Save out final mock data
- Tutorial: Fit binary model to observed data using nested sampling via UltraNest
- Tutorial: Fit binary model to observed data with emcee