EvolvedPopulation#

class cogsworth.pop.EvolvedPopulation(n_binaries, mass_singles=None, mass_binaries=None, n_singles_req=None, n_bin_req=None, bpp=None, bcm=None, initial_binaries=None, kick_info=None, **pop_kwargs)[source]#

Bases: Population

Methods Summary

create_population([with_timing])

Create an entirely evolved population of binaries with sampling or stellar evolution

perform_stellar_evolution()

Perform the (binary) stellar evolution of the sampled binaries

sample_initial_binaries()

Sample the initial binary parameters for the population.

Methods Documentation

create_population(with_timing=True)[source]#

Create an entirely evolved population of binaries with sampling or stellar evolution

This will sample the initial galaxy and then perform the gala evolution.

Parameters:
with_timingbool, optional

Whether to print messages about the timing, by default True

perform_stellar_evolution()[source]#

Perform the (binary) stellar evolution of the sampled binaries

sample_initial_binaries()[source]#

Sample the initial binary parameters for the population.