Closed vhaasteren closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.48%. Comparing base (
5c1e455
) to head (fbff5be
). Report is 16 commits behind head on dev.
It seems that this requires some extra unit tests. Actually, the unit tests for the entire parameter class do not check for exceptions. I'll just update it to check for everything...
@vhaasteren Is there anything that needs to be done on this one?
No, is ready to go
This PR adds the Percentage Point Function (PPF) to Enterprise parameters. The PPF is the inverse of the CDF, so it can be used to sample from the distribution. Some Nested Sampling implementations require the PPF as input: for instance MultiNest requires the "hypercube transformation". That is done with the PPF.
Now we can do something like:
The Truncated Normal PPF is not yet implemented, but
LinearExp
,Normal
, andUniform
are there.