def _margdist_loglr(self, mf_snr, opt_snr):
        """Returns the log likelihood ratio marginalized over distance.
        """
        mf_snr_marg = mf_snr/self._dist_array
        opt_snr_marg = opt_snr/self._dist_array**2
        return special.logsumexp(mf_snr_marg - 0.5*opt_snr_marg,
                                 b=self._deltad*self.dist_prior)
Returns the log likelihood ratio marginalized over distance.