def from_unit_cube(self, x):
        """
        Used by multinest

        :param x: 0 < x < 1
        :param lower_bound:
        :param upper_bound:
        :return:
        """

        lower_bound = self.lower_bound.value
        upper_bound = self.upper_bound.value

        low = lower_bound
        spread = float(upper_bound - lower_bound)

        par = x * spread + low

        return par
def from_unit_cube ( self , x ) : lower_bound = self . lower_bound . value upper_bound = self . upper_bound . value low = lower_bound spread = float ( upper_bound - lower_bound ) par = x * spread + low return par
Used by multinest

        :param x: 0 < x < 1
        :param lower_bound:
        :param upper_bound:
        :return: