plot_radius

cosmic.plotting.plot_radius(ax, times, R1_out, R2_out, M1_out, M2_out, P_orb_out, ecc_out, sys_obs, legend=True)[source]

Plots the stellar radii as a function of time

Parameters:
axmatplotlib.Axes

Axis instance for the plot

timespandas.Series

Series of times at each binary evolution time step in Myr

R1_outpandas.Series

Series of primary radius at each binary evolution time step in Rsun

R2_outpandas.Series

Series of secondary radius at each binary evolution time step in Rsun

M1_outpandas.Series

Series of primary mass at each binary evolution time step in Msun

M2_outpandas.Series

Series of secondary mass at each binary evolution time step in Msun

P_orb_outpandas.Series

Series of orbital periods at each binary evolution time step in days

ecc_outpandas.Series

Series of eccentricities at each binary evolution time step

sys_obsDict

Dictionary containing keys for binary parameters with values to plot as vertical lines for each stellar component

Returns:
Null