eval(self,
x=None,
y=None,
warn=1,
w_sputter=0.0,
w=array([], dtype=float64))
| source code
|
Evaluate the grain-size distribution function at a coordinate
point.
x/y can be any value or array. If func is an interpolation object, it
is in principle limited by the x/y-range of the interpolator. It is
advised not to extend much beyond the given x/y-range.
If one of the two variables is None, it is replaced by the default
grid.
Sputtering can be applied here by passing the drift array and the max
drift velocity to the call. Any grain sizes with a drift above w_sputter
will have their number density set to 0. This depends on both the grain
size and the radius.
- Parameters:
x (array/float) - The primary coordinate point(s). If None, the default coordinate
grid is used.
(default: None)
y (array/float) - The secondary coordinate point(s). If None, the default
coordinate grid is used.
(default: None)
warn (bool) - Warn when extrapolation occurs.
(default: 1)
w_sputter (float) - The sputtering drift velocity above which the number density is
set to zero. Default in case no sputtering is to be applied.
(default: 0.)
w (array) - The Drift() object. Only relevant when w_sputter is nonzero.
(default: np.empty(0))
- Returns: array/float
- The profile evaluated at x and y
- Overrides:
cc.modeling.profilers.Profiler.Profiler2D.eval
|