Modifying the `generate_chi_p` function
The purpose of this MR is to modify the generate_chi_p
function to allow for the sampled value of chi_align
rather than the maximum when drawing values of chi_p
. This provides some extra freedom in the allowed values of chi_p
. For example, if chi_eff
is a gaussian with mean 0.5 and range [0., 1.0], the current implementation means that chi_p = 0
for all samples. However, in reality, it can take values between [0, 1.0].