Parent Directory
|
Revision Log
|
Patch
revision 322 by elspeth, Wed Nov 30 02:00:26 2005 UTC | revision 323 by gross, Tue Dec 6 06:18:00 2005 UTC | |
---|---|---|
# | Line 77 class GaussianProfile(ParameterSet): | Line 77 class GaussianProfile(ParameterSet): |
77 | x = self.domain.getX() | x = self.domain.getX() |
78 | dim = self.domain.getDim() | dim = self.domain.getDim() |
79 | l = length(x-self.x_c[:dim]) | l = length(x-self.x_c[:dim]) |
80 | m = (l-self.r).whereNegative() | m = whereNegative(l-self.r) |
81 | ||
82 | return (m+(1.-m)*exp(-log(2.)*(l/self.width)**2))*self.A | return (m+(1.-m)*exp(-log(2.)*(l/self.width)**2))*self.A |
83 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |