get_kick_info#
- cogsworth.interop.compas.file.get_kick_info(filename)[source]#
Create a kick_info table from a COMPAS output file
This function reads the BSE_Supernovae table from a COMPAS output file and reformats it into a kick_info table similar to that used in COSMIC.
- Parameters:
- filenamestr
Path to the COMPAS output file in HDF5 format.
- Returns:
- kick_infopandas.DataFrame
A DataFrame containing the kick_info table.