code: def make_frozen_func(self, params):
          
          params = np.array(params, dtype=np.float, ndmin=1)
          from functools import partial
          return partial(self.func, params)
docs: Returns a model function frozen to the specified parameter values.
  
          Any remaining arguments are left free and must be provided when the
          function is called.
  
          For this model, the returned function is the application of
          :func:`functools.partial` to the :attr:`func` property of this object.