neutronpy.data.data.Data.integrate¶
-
Data.
integrate
(bounds=None, background=None, hkle=True)[source]¶ Returns the integrated intensity within 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 : float
The integrated intensity either over all data, or within specified boundaries