Plotting binaries (plotting)

The plotting module contains the main functions for plotting binaries from COSMIC.

plotting

Functions

evolve_binary(initC[, t_min, t_max, ...])

Evolves a single binary with all timesteps written to the bcm array for plotting

plot_k_type(ax_1, ax_2, ax_k_type_list, ...)

Plots the stellar types as a function of time

plot_radius(ax, times, R1_out, R2_out, ...)

Plots the stellar radii as a function of time

plot_mass(ax, times, M1_out, M2_out, sys_obs)

Plots the stellar mass as a function of time

plot_Teff(ax, times, Teff1_out, Teff2_out, ...)

Plots the stellar effectvie temperature as a function of time

plot_Mdot(ax, times, Mdot1_out, Mdot2_out[, ...])

Plots the stellar effectvie temperature as a function of time

plot_P_orb(ax, times, P_orb_out, t_max, sys_obs)

Plots the orbital period as a function of time

plot_ecc(ax, times, ecc_out, t_max, sys_obs)

Plots the eccentricity as a function of time

plot_HR_diagram(ax, L1_out, L2_out, ...)

Plots the eccentricity as a function of time

plot_binary_evol(bcm[, sys_obs, ...])

Plots the full set of plots and kstar bar plots

evolve_and_plot(initC[, t_min, t_max, ...])

Evolve and plot binaries as a function of time