astro.binary - EranOfek/AstroPack GitHub Wiki

Description

NOT READY

The astro.binary package contain functions related to binary stars including eclipsing binary, spectroscopic binaries, and astrometric binaries.

Related tools are available in celestial.Kepler and celestial.OrbitalEl.

Functions

  • astro.binary.allFunList - Functions and Classes list for the astro.binary package
  • astro.binary.astrometric_binary - Predict astrometric binary position
  • astro.binary.binary_reflection_effect - reflection effect from a star with unit illumination on mirror
  • astro.binary.binary_rv - Binary star radial velocity (RV)
  • astro.binary.chi2_astrometric_binary - Find astrometric binary elements from observations
  • astro.binary.coalescence_gw_time - Calculate the coalescence time for binary stars due to GW emission
  • astro.binary.eb_demo - GUI Eclipsing Binary light-curve demo.
  • astro.binary.eb_light_curve - Eclipsing binary light curve as a function of time.
  • astro.binary.equipot - Calculate the gravitational potential of a binary star on a grid.
  • astro.binary.fit_astrometric_binary - Fit an elliptical-orbit binary orbit to astrometric data.
  • astro.binary.fit_rv_ellipse - Fit radial velocity to an ellipse as a function of period
  • astro.binary.limb_darkening - Limb darkening function
  • astro.binary.obstruction - Stellar obstruction due to the eclipse
  • astro.binary.plot_eb_lc - Plot eclipsing binary light curve as a function of time.
  • astro.binary.plot_eb_lc_ph - Plot eclipsing binary light curve as a function of phase.
  • astro.binary.rv2ellipse - Convert radial velocity as a function of time to ellipse
  • astro.binary.total_light - Primary total light given its radius and limb darkening.
  • astro.binary.unitTest - Package Unit-Test

Examples

Eclisping binaries

Spectroscopic binaries

Astrometric binaries

To plot the orbit of astrometric binary as a function of time:

[Orbit,Par]=astro.binary.astrometric_binary;
plot(Orbit.X,Orbit.Y,'.');

See the function help to control the orbital elements.