code: def __call__(self, x):
      if isinstance(x, list):
          x = np.array(x)
      if len(x.shape) > 1:
          return np.array([self.loglike(x) for x in x])
      else:
          return self.loglike(x)
  
file_path: nnest/nnest/priors.py
imports: import numpy
label_desc: Use image node_id 2 for calling the Prior obj's underlying member method code with example usage: obj.__call__(x) and returns: np, self