a) removes the 0.001 and 0.999 edge corrections in margarine/processing.py
b) turns the explicit transformations into quantiles in margarine/processing.py
c) removes the 0.001 and 0.999 edge corrections in margarine/maf.py
d) tidys margarine/maf.py in light of these changes, as well as a more numpythonic return calculation from logprob
This possible now that the correction factors have been implemented, and we no longer need to guard against the then erroneous nans.
Description
This PR:
a) removes the 0.001 and 0.999 edge corrections in margarine/processing.py b) turns the explicit transformations into quantiles in margarine/processing.py c) removes the 0.001 and 0.999 edge corrections in margarine/maf.py d) tidys margarine/maf.py in light of these changes, as well as a more numpythonic return calculation from logprob
This possible now that the correction factors have been implemented, and we no longer need to guard against the then erroneous nans.
Tests pass locally on my machine.