code: def __function(
      self,
  ):  # XXX: deal w/ selector (2D)? ExtraArgs? _to_function
      # convert model to 'args' format (i.e. takes positional args)
      from mystic.math.interpolate import _to_function
  
      function = _to_function(self.objective, ndim=self.dim)
      function.__doc__ = self.objective.__doc__
      return function
  
file_path: mystic/examples3/surface.py
label_desc: Use image node_id 10 for calling the Surface obj's underlying member method code with example usage: obj.__function() and returns: function