load#
- cogsworth.pop.load(file_name, parts=['initial_binaries', 'initial_galaxy', 'stellar_evolution'])[source]#
Load a Population from a series of files
- Parameters:
- file_namestr
Base name of the files to use. Should either have no file extension or “.h5”
- partslist, optional
Which parts of the Population to load immediately, the rest are loaded as necessary. Any of [“initial_binaries”, “initial_galaxy”, “stellar_evolution”, “galactic_orbits”], by default [“initial_binaries”, “initial_galaxy”, “stellar_evolution”]
- Returns:
- popPopulation
The loaded Population