Here, cdf is the value of the redshift evolution PDF evaluated at a redshift of x. The code, however, interprets cdf as the evolution PDF evaluated at the midpoint between given redshifts. For the default binning of 10000, this is likely to be a very small difference, but it can be a noticeable source of error if the binning is reduced. Since FIRESONG isn't doing anything binned at the moment, we should fix these lines.
The current InverseCDF function looks like this:
Here,
cdf
is the value of the redshift evolution PDF evaluated at a redshift ofx
. The code, however, interpretscdf
as the evolution PDF evaluated at the midpoint between given redshifts. For the default binning of 10000, this is likely to be a very small difference, but it can be a noticeable source of error if the binning is reduced. Since FIRESONG isn't doing anything binned at the moment, we should fix these lines.