def get_prior_unit_cube(cube, priors):
    """
    Returns the transformed unit cube for MultiNest.

    Parameters
    ----------
    cube : list or numpy.array
        Unit cube [0,1]
    priors : list of instantiated Prior objects
        :class:`Prior` vector

    Returns
    -------
    cube : list or numpy.array
        Physical parameters
    """

    # Loop over all parameters
    for i, prior in enumerate(priors):

        # Transform from uniform to physical
        cube[i] = prior.transform_uniform(cube[i])

    return cube