plot_mass

cosmic.plotting.plot_mass(ax, times, M1_out, M2_out, sys_obs)[source]

Plots the stellar mass 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

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

sys_obsDict

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

Returns:
Null