code: def mylikelihoodwrapper(params):
      ndim = ctypes.c_size_t(params.size)
      l = ctypes.c_double(0.0)
      myfortlib.my_fort_likelihood(
          params, ctypes.pointer(ndim), ctypes.pointer(l)
      )
      return l.value
  
imports: import numpy
  import ctypes
  from ultranest import ReactiveNestedSampler
label_desc: Use image node_id 2 for calling a global function with example usage: mylikelihoodwrapper(params) and returns: l