Пример #1
0
  def get_response(self):
    from retina_response import set_sigma, set_event
    from retina_response import linear_retina_response, linear_retina_response_jac, linear_retina_response_hess
    set_sigma(self.sigma)
    set_event(self.event)

    return linear_retina_response, linear_retina_response_jac, linear_retina_response_hess
Пример #2
0
  def get_neg_response(self):
    from retina_response import set_sigma, set_event
    from retina_response import neg_linear_retina_response,\
      neg_linear_retina_response_jac,\
      neg_linear_retina_response_hess

    set_sigma(self.sigma)
    set_event(self.event)

    return neg_linear_retina_response, neg_linear_retina_response_jac, neg_linear_retina_response_hess