pop_write¶
- cosmic.utils.pop_write(dat_store, log_file, mass_list, number_list, bcm, bpp, initC, conv, kick_info, bin_state_nums, match, idx, **kwargs)[source]¶
- Writes all the good stuff that you want to save from runFixedPop in a
single function
- Parameters:
- dat_storepandas HDFStore
H5 file to write to
- log_filefile write
log file to write to
- mass_listlist
list containing the mass of the singles, mass of the binaries, and mass of the stars
- n_listlist
list containing the number of singles, number of binaries, and number of stars
- bcmpandas.DataFrame
bcm array to write
- bpppandas.DataFrame
bpp array to write
- initCondpandas.DataFrame
initCond array to write
- convpandas.DataFrame
conv array to write
- kick_infopandas.DataFrame
kick_info array to write
- bin_state_numslist
contains the count of binstates 0,1,2
- matchpandas.DataFrame
contains the match values for each conv_param
- idxint
contains the index of the bcm so we can pick up where we left off if runFixedPop hits a wall time
- conv_singlespandas.DataFrame
kwargs conv_singles array to write
- bcm_singlespandas.DataFrame
kwargs bcm_singles array to write
- bpp_singlespandas.DataFrame
kwargs bpp_singles array to write
- initC_singlespandas.DataFrame
kwargs initC_singles array to write
- kick_info_singlespandas.DataFrame
kwargs kick_info_singles array to write
- Returns:
- Nothing!