subtract_diffraction_background#
- PolarDiffraction2D.subtract_diffraction_background(method='radial median', inplace=False, **kwargs)[source]#
Background subtraction of the diffraction data.
- Parameters:
method (str, optional) – ‘radial median’, ‘radial percentile’ Default ‘radial median’.
For ‘radial median’ no extra parameters are necessary.
For ‘radial percentile’ the ‘percentile’ argument decides which percentile to substract.
**kwargs – To be passed to the chosen method.
- Returns:
s
- Return type:
PolarDiffraction2D or LazyPolarDiffraction2D signal