bilby.gw.conversion.generate_spin_parameters
- bilby.gw.conversion.generate_spin_parameters(sample)[source]
Add all spin parameters to the data frame/dictionary.
- We add:
cartesian spin components, chi_eff, chi_p cos tilt 1, cos tilt 2
- Parameters:
- sampledict, pandas.DataFrame
The input dictionary with some spin parameters
- Returns:
- dict: The updated dictionary