neutronpy.data.Analysis.position¶
-
Analysis.
position
(bounds=None, background=None, hkle=True)[source]¶ Returns the position of a peak within the given bounds
Parameters: - bounds : bool, optional
A boolean expression representing the bounds inside which the calculation will be performed
- background : float or dict, optional
Default: None
- hkle : bool, optional
If True, integrates only over h, k, l, e dimensions, otherwise integrates over all dimensions in
Data.data
Returns: - result : tup
The result is a tuple with position in each dimension of Q, (h, k, l, e)