code: def wrap_ln(theta, prior):
      return np.exp(prior.get_log_probability(np.log(theta)))
  
imports: from functools import partial
  import numpy
  import pytest
  import scipy.optimize
  from smac.constants import VERY_SMALL_NUMBER
  from smac.model.gaussian_process.priors import GammaPrior, HorseshoePrior, LogNormalPrior, SoftTopHatPrior, TophatPrior
label_desc: Use image node_id 1 for calling a global function with example usage: wrap_ln(theta, prior) and returns: np