original_docstring: define phase function as sympy object for later evaluation
docstring: define phase function as sympy object for later evaluation
docstring_tokens: define phase function as sympy object for later evaluation
code: def _set_function(self):
          """define phase function as sympy object for later evaluation"""
          theta_0 = sp.Symbol('theta_0')
          theta_ex = sp.Symbol('theta_ex')
          phi_0 = sp.Symbol('phi_0')
          phi_ex = sp.Symbol('phi_ex')
  
          x = self.scat_angle(theta_0, theta_ex, phi_0, phi_ex, a=self.a)
  
          self._func = 1. * (1. - self.t ** 2.) / ((sp.pi) *
                                                   (1. + self.t ** 2. -
                                                    2. * self.t * x) ** 1.5)
code_tokens: def _set_function ( self ) : theta_0 = sp . Symbol ( 'theta_0' ) theta_ex = sp . Symbol ( 'theta_ex' ) phi_0 = sp . Symbol ( 'phi_0' ) phi_ex = sp . Symbol ( 'phi_ex' ) x = self . scat_angle ( theta_0 , theta_ex , phi_0 , phi_ex , a = self . a ) self . _func = 1. * ( 1. - self . t ** 2. ) / ( ( sp . pi ) * ( 1. + self . t ** 2. - 2. * self . t * x ) ** 1.5 )
short_docstring: define phase function as sympy object for later evaluation
short_docstring_tokens: define phase function as sympy object for later evaluation
comment: """define phase function as sympy object for later evaluation"""