Skip to content
Snippets Groups Projects

Allow sampling in aligned spin and spin magnitude

Merged Colm Talbot requested to merge magnitude-aligned-spin-sampling into master
All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -234,7 +234,7 @@ def convert_to_lal_binary_black_hole_parameters(parameters):
for idx in ['1', '2']:
key = 'chi_{}'.format(idx)
if key in original_keys:
if f"a_{idx}" not in original_keys:
if "a_{}".format(idx) not in original_keys:
converted_parameters['a_{}'.format(idx)] = abs(
converted_parameters[key])
converted_parameters['cos_tilt_{}'.format(idx)] = \
Loading