Skip to content
Snippets Groups Projects
Commit f646b508 authored by Marc Arene's avatar Marc Arene
Browse files

include reduced_mass when generating source-frame mass parameters

parent c6686d3d
No related branches found
No related tags found
No related merge requests found
......@@ -1091,7 +1091,7 @@ def generate_source_frame_parameters(sample):
output_sample['comoving_distance'] =\
redshift_to_comoving_distance(output_sample['redshift'])
for key in ['mass_1', 'mass_2', 'chirp_mass', 'total_mass']:
for key in ['mass_1', 'mass_2', 'chirp_mass', 'total_mass', 'reduced_mass']:
if key in output_sample:
output_sample['{}_source'.format(key)] =\
output_sample[key] / (1 + output_sample['redshift'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment