get the value of the function, and its first & second derivative
Reimplemented from C2Function. Definition at line 172 of file voigt_profile.py. 00172 : 00173 x=x/self.sigma 00174 a=math.exp(-x*x/2)*self.scale/self.sigma 00175 return a, -x*a/self.sigma, (x*x-1)*a/self.sigma**2 00176 00177 class lorentz(C2Functions.C2Function): def set_center(self, center):
|