Skip to content

Tutorial has incorrect documentation

Issue discovered by Konstantin Leyde.

Visualising the results tut has the following :

# specify injection parameters
injection_parameters = dict(
mass_1=36.,                          # source frame (non-redshifted) primary mass (solar masses)
mass_2=29.,                          # source frame (non-redshifted) secondary mass (solar masses)
a_1=0.4,                             # primary dimensionless spin magnitude

The comments for this are incorrect (the comments should say lab frame instead of source frame).

Eg When i access result.posterior.mass_1 I get the lab frame masses, while result.posterior.mass_1_source provides the source frame masses.